Don't display a top component when command line option is used
"iX??" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I would like to make my application to behave differently when I am launching it with some options. Lets say I am launching the application with the option --light on the command line. I would like, then, to hide some TopComponents, but in fact I want them to completely hide them, as in "I don't want to be able to open them" so make the topcomponent minimized is not a good solution. And alos, I don't want load the application with the topcomponents open, then close them later when I am detecting that the app is loaded. I would like a way to tell the component to simply not show itself from the start. Any idea ? Thanks.