Results 1 to 4 of 4
Thread: Radio button dot color
- 02-20-2010, 03:13 AM #1
Member
- Join Date
- Jan 2010
- Posts
- 81
- Rep Power
- 0
Radio button dot color
Is there a way to change the color of the dot for a radio button?
When I originally started building my code in NetBeans Form Editor, the dot was green. Now that I'm building the GUI without the Form Editor, the dot is black. Does it have to do with the layout I'm using? Is there any way to make the dot green again irregardless of what Layout Manager I'm using?
-
You can set the radiobutton's icon, but the likely correct answer is to use an appropriate look and feel.
- 02-21-2010, 04:00 AM #3
Member
- Join Date
- Jan 2010
- Posts
- 81
- Rep Power
- 0
I'm having a lot a trouble with this one. The dot in my RadioButton is black and the background of my GUI is black, so when a RadioButton is selected, it doesn't stick out very much.
I just want the dot to be green, but am not having any luck figuring out Look and Feel or Icons.
How do I change the dot to a green dot using Icon?
-
I have a feeling (again) that this is look & feel related. Perhaps your best solution is to either change your look and feel or else rip the icon out of the L&F object that renders JRadioButtons and alter it. I'm no expert in this, but this is what a Google search suggested to me.
Similar Threads
-
Disable Radio button
By AJG in forum New To JavaReplies: 3Last Post: 05-10-2011, 11:09 AM -
Double click radio button
By mandragora in forum AWT / SwingReplies: 11Last Post: 11-10-2008, 11:06 AM -
How to use SWT Radio Button
By Java Tip in forum SWTReplies: 0Last Post: 07-25-2008, 02:25 PM -
Reacting Radio button event
By Java Tip in forum javax.swingReplies: 0Last Post: 06-26-2008, 07:46 PM -
Radio button values are not lose
By chockalingam in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 12-03-2007, 08:14 AM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks