Results 1 to 3 of 3
- 12-30-2007, 10:40 PM #1
Member
- Join Date
- Dec 2007
- Posts
- 4
- Rep Power
- 0
JButton.hide/showText() feature ?
I am aware that this issue was discussed many times but still couldn't find what I needed.
There is this little game I'm trying to write in Java and for its purpose I need to be able to hide the text of a JButton (not delete it - I still need it, even though it is hidden!) and to be able to display it when I like. Since JButton has no such method and I am kinda newbie on the matter I would much appreciate your help :)
- 01-06-2008, 02:43 PM #2
Save the text
Hello vassil_zorev.
It will probably be simpler if you save the text in memory and delete the text in the button. If you need it again, just use it from memory. :DEyes dwelling into the past are blind to what lies in the future. Step carefully.
- 01-06-2008, 11:26 PM #3
Member
- Join Date
- Dec 2007
- Posts
- 4
- Rep Power
- 0
Similar Threads
-
How to Hide cursor
By priya in forum Java SoftwareReplies: 1Last Post: 12-09-2010, 09:39 PM -
[SOLVED] Hide the titlebar of a JEditorPane
By Eranga in forum AWT / SwingReplies: 1Last Post: 03-28-2008, 10:28 AM -
java : how to hide application icon from a task bar
By yogeshagashe in forum Advanced JavaReplies: 0Last Post: 03-12-2008, 01:05 PM -
To hide browser heading
By priyanka_t in forum JavaServer Pages (JSP) and JSTLReplies: 4Last Post: 01-09-2008, 07:56 AM -
Hide hyperlink address on status bar
By simon in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 07-24-2007, 10:34 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks