1

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

mouthpiec
  • 3,923
  • 18
  • 54
  • 73

2 Answers2

4

myButton.setVisible(false);

Midhat
  • 17,454
  • 22
  • 87
  • 114
4

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

Chandra Sekar
  • 10,683
  • 3
  • 39
  • 54