Dear Peter
    I prefer not to use the traditional properties window. What i am doing is 
to build a 'logic simulator' in netbeans for people to simulate their 
logic-gates-design. Since the gates' logos are in square, so i want to create 
my ideal panel layout.


Thanks
>From Peter
________________________________
From: Peter Nabbefeld <peter.nabbef...@gmx.de>
Sent: Friday, July 26, 2019 12:25 AM
To: dev@netbeans.apache.org <dev@netbeans.apache.org>
Subject: Re: Newbie questions


Hello Peter,

the cause for asking for context is just this: dependent on where You
want a TopComponent to be used, it's usually managed differently. E.g.
Palette windows etc. are usually used in the context of editing a
specific file type.

If I understand Your question correctly, You want to use a properties
window like in the GUI builder? It seems, the properties window is just
hidden for other files, You can e.g. open it using "Windows -> IDE Tools
-> Properties".

For property sheet extension, this tutorial might help:
https://platform.netbeans.org/tutorials/nbm-property-editors.html

Kind regards
Peter




Am 25.07.19 um 17:15 schrieb Peter Cheung:
> I am not sure why my reason is so important, but i just want to do these:
>
>      How to maintain there is only one instance of a topcomponent window of a 
> specific class?
>      How to close all topcomponent of a specific class?
>
> OK, my reason is:
>
> when you open an editor, there is a property window, whatever how many editor 
> you are opened, since there is only one active editor, so there is only one 
> property window. If can't control only one instance of a topcomponent, how 
> can we achieve this.
>
> I am not sure why you think it is so important to ask for my reason to solve 
> a specific technical question. If people ask "how to solve my for-loop 
> error", do we really need to know his reason to write his for-loop? Or I am 
> thinking i am being discriminated.
>
> If people in here think i am disturbing, i can quit.
>
> Thanks
>  From Peter
> ________________________________
> From: Eric Bresie <ebre...@gmail.com>
> Sent: Thursday, July 25, 2019 10:09 PM
> To: Apache NetBeans <dev@netbeans.apache.org>
> Subject: Re: Re: Newbie questions
>
> http://www.catb.org/~esr/faqs/smart-questions.html
>
> Eric Bresie
> ebre...@gmail.com
>> On July 24, 2019 at 11:54:27 PM PDT, Geertjan Wielenga <geert...@apache.org> 
>> wrote:
>> PS: Can you think hard about the subject line when you start a new thread?
>>
>> On Thu, Jul 25, 2019 at 8:53 AM Geertjan Wielenga <geert...@apache.org>
>> wrote:
>>
>>> More details needed, the context, the why, etc.
>>>
>>> Gj
>>>
>>> On Thu, Jul 25, 2019 at 6:35 AM Peter Cheung <mcheun...@hotmail.com>
>>> wrote:
>>>
>>>> Dear All
>>>> How to maintain there is only one instance of a topcomponent window
>>>> of a specific class?
>>>> How to close all topcomponent of a specific class?
>>>>
>>>>
>>>> Thanks
>>>>  From Peter
>>>>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to