This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hide and show JButton
 
Similar Threads
changing form input fields in the div
JQuery replace div
how to create new form elements based on radio button selection?
what is Abstraction
Displaying CommandLink in Datatable