aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Hide and show JButton Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Hide and show JButton" Watch "Hide and show JButton" New topic
Author

Hide and show JButton

Dominic Steng�rd
Ranch Hand

Joined: Feb 05, 2001
Posts: 186
Hey!
Which is the easiest way to show and hide JButtons? Seems like all the methods I used to use back in the day have been deprecated ...
Thanks in advance.
Regards
Dominic


Dominic Steng�rd<br />Sun Certified Java 2 Programmer
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

setVisible()?

How long ago was "back in the day"?



-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Dominic Steng�rd
Ranch Hand

Joined: Feb 05, 2001
Posts: 186
Thanks!
... well I used to use hide() etc. But to be honest, I usually do server side programming, so my knowledge in Swing is limited.
 
 
subject: Hide and show JButton