This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Hide and show JButton" Watch "Hide and show JButton" New topic

Hide and show JButton

Dominic Steng�rd
Ranch Hand

Joined: Feb 05, 2001
Posts: 186
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.

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

Joined: Oct 18, 2000
Posts: 4121


How long ago was "back in the day"?

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

Joined: Feb 05, 2001
Posts: 186
... well I used to use hide() etc. But to be honest, I usually do server side programming, so my knowledge in Swing is limited.
Have you checked out Aspose?
subject: Hide and show JButton
It's not a secret anymore!