Where is setVisible in Netbeans palette?

Fran b picture Fran b · Jul 9, 2012 · Viewed 11.3k times · Source

I am using Netbeans on design mode for to make a gui. I am looking for a property corresponding to the setVisible method of java and I can not find it.

I have looked in Properties and Binding, but have found nothing.

At last I have written this.component.setVisible(false); in Post-Init Code in the section of the pallet code.

Is there another way to do this?

PS: I use Netbeans 7.1

Answer

Anuja Shiran picture Anuja Shiran · Aug 28, 2013

What I did was right click the label and go to Customize code and make the label visibility as false.