Where is setvisible in the Java – NetBeans palette?

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
分享
二维码
< <上一篇
下一篇>>