Where is setvisible in the Java – NetBeans palette?
•
Java
I use NetBeans in design pattern to make a GUI I'm looking for a property corresponding to Java's setvisible method, and I can't find it
I checked properties and binding, but found nothing
Finally I wrote this component. setVisible(false); In the post init code in the tray code section
Is there another way?
PS: I use NetBeans 7.1
Solution
no
If you use NetBeans, the default is to open visible components As far as I know, you can't change it unless you don't use GUI builders such as NetBeans
As you said in the question, you just need to change the component The setvisible () parameter is set to false or true, depending on your needs!
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码