Re: New TopComponent kind? (in addition to editor and viewer)

Milos Kleint <[email protected]>
Newsgroups gmane.comp.java.netbeans.user-interface
Message-ID <[email protected]>
Mikael Brännström wrote:
> I'm developing an application on top of the Netbeans platform. Are
> there any ways to replace/customize the editor style TopComponent?
>
> I need a component that occupies the middle part of the window (like
> the "editor" kind), but the component should not be closeable and
> there should only be one instance of it (allways opened).
>
> I know this can be acheived by having an editor component that is not
> closeable, but the close button will still appear, and the tabs and
> all the UI stuff for cycling through the oher editor components that
> are visible (in my case none). I need a clean component without any of
> this, preferrably even without a title.
>
> Can anyone give me a pointer to where to start? E.g. what code/module
> to modify etc.
you probably want to keep the window system as it is, just change the UI 
for "editor" type components. That's all in the tabcontrol module - in 
cvs at core/swing/tabcontrol directory

Milos
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.