Re: TopComponent window focus

geertjan wielenga <[email protected]> Sat, 5 Aug 2017 22:52:53 +0200
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Organization Oracle Corporation
Message-ID <[email protected]>
Great.

Gj


On 5-8-2017 22:50, Rupert Young wrote:
>
>
> That seemed to do it, thanks.
>
> I set "editor" in this annotation, it was "output"
>
> @TopComponent.Registration(mode = "editor", openAtStartup = false)
>
> *Regards,
> Rupert
> *
>
> <http://www.perceptualrobots.com/>
>
> www.perceptualrobots.com <http://www.perceptualrobots.com>
> Twitter <https://twitter.com/perceptualrobot> LinkedIn 
> <https://www.linkedin.com/company/perceptual-robots> YouTube 
> <https://www.youtube.com/channel/UCGA1-akFXJYf90qIOH1BJuw>
>
> +44 7795 480387
>
> On 05/08/2017 20:56, geertjan wielenga wrote:
>>
>>
>> As a first step, try make that window that won't go to the back 
>> (i.e., it is modal) an 'editor' TopComponent, which should 
>> automatically make it that, but may have side effects that you don't 
>> like, just as a first step.
>>
>> Gj
>>
>>
>> On 5-8-2017 21:53, Rupert Young wrote:
>>>
>>> That should have read,
>>>
>>> "if I click on the left hand window it does not come to the front 
>>> the of the right hand window"
>>>
>>> On 05/08/2017 20:47, Rupert Young wrote:
>>>>
>>>> I have a netbeans application with two TopComponents, which come up 
>>>> as docked the first time. One I undock as shown in image.
>>>>
>>>> However, the undocked window is always in front of the other. I.e. 
>>>> if I click on the left hand window it does not come to the from the 
>>>> of the right hand window. So the left window is always obscured by 
>>>> the right window. Is there a way of resolving this (without just 
>>>> moving the window)?
>>>>
>>>>
>>>>
>>>> -- 
>>>>
>>>> *Regards,
>>>> Rupert*
>>>>
>>>> <http://www.perceptualrobots.com/>
>>>>
>>>> www.perceptualrobots.com <http://www.perceptualrobots.com>
>>>> Twitter <https://twitter.com/perceptualrobot> LinkedIn 
>>>> <https://www.linkedin.com/company/perceptual-robots> YouTube 
>>>> <https://www.youtube.com/channel/UCGA1-akFXJYf90qIOH1BJuw>
>>>>
>>>> +44 7795 480387
>>>>
>>>
>>
>