mouthpiec
mouthpiec

Reputation: 4033

Hide jButton in Netbeans

Is there a way to hide a jButton in Netbeans? (similar to button.visible = false in VS)

Upvotes: 1

Views: 11221

Answers (2)

Chandra Sekar
Chandra Sekar

Reputation: 10843

You are looking for, button.setVisible(false);

Upvotes: 4

Midhat
Midhat

Reputation: 17810

myButton.setVisible(false);

Upvotes: 4

Related Questions