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 <[email protected]>
Sent: Friday, July 26, 2019 12:25 AM
To: [email protected] <[email protected]>
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 <[email protected]>
> Sent: Thursday, July 25, 2019 10:09 PM
> To: Apache NetBeans <[email protected]>
> Subject: Re: Re: Newbie questions
>
> http://www.catb.org/~esr/faqs/smart-questions.html
>
> Eric Bresie
> [email protected]
>> On July 24, 2019 at 11:54:27 PM PDT, Geertjan Wielenga <[email protected]>
>> 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 <[email protected]>
>> wrote:
>>
>>> More details needed, the context, the why, etc.
>>>
>>> Gj
>>>
>>> On Thu, Jul 25, 2019 at 6:35 AM Peter Cheung <[email protected]>
>>> 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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists