Results 1 to 7 of 7
- 06-21-2011, 11:29 AM #1
Member
- Join Date
- May 2011
- Posts
- 97
- Rep Power
- 0
how to enable only text on disabled jButton?
Hi,
i have a JFrame on which i have placed a button called "Next", this button is disabled initially, after he does few operations it ll be enabled, but my problem is when the button is disabled the text on button is not displayed, it is blank. Please help me out.
Regards
Sandeep
- 06-21-2011, 11:48 AM #2
That's not normal. Are you using a third party LookAndFeel?
To get better help sooner, post a SSCCE that clearly demonstrates your problem.
dbLast edited by DarrylBurke; 06-21-2011 at 11:53 AM.
- 06-21-2011, 11:58 AM #3
Member
- Join Date
- May 2011
- Posts
- 97
- Rep Power
- 0
Hi
Im not using any third party LookAndFeel.
in my second frame it is proper, where as in my first frame it is not displaying, i removed the button and also re-did it again, still not working.
Not only that button, any button if i disable within that 1st frame, it is not displaying.
Regards
Sandeep
- 06-21-2011, 02:45 PM #4
So where's that SSCCE?
db
- 06-22-2011, 06:00 AM #5
Member
- Join Date
- May 2011
- Posts
- 97
- Rep Power
- 0
Hi
I did not understand what should i do there, i read it but did not get even an idea as what should i do in tat link which you have given.
Please explain me what should i do there, dont mind for asking like this, please help me out
Regards
Sandeep
- 06-22-2011, 07:29 AM #6
Give up now. If you can't understand the simple concepts outlined in the SSCCE web page, you're never going to be a programmer.
db
- 06-22-2011, 07:34 AM #7
Senior Member
- Join Date
- Apr 2010
- Location
- Philippines
- Posts
- 580
- Rep Power
- 4
Similar Threads
-
how to enable JButton?
By sandeep43 in forum AWT / SwingReplies: 4Last Post: 05-30-2011, 06:50 AM -
JButton : Background and Text
By Keys in forum AWT / SwingReplies: 1Last Post: 05-26-2011, 04:43 AM -
How to change the default background color of a DISABLED JButton
By ryogananda in forum Java AppletsReplies: 4Last Post: 03-21-2009, 05:48 PM -
Text color in disabled componentes
By saul_2110 in forum AWT / SwingReplies: 8Last Post: 12-13-2008, 05:37 AM -
Disabled JButton font color
By p900128 in forum Advanced JavaReplies: 1Last Post: 07-24-2008, 08:16 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks