Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #4684
| From | Fred <fred.l.kleinschmidt@boeing.com> |
|---|---|
| Newsgroups | comp.lang.java.gui |
| Subject | Re: Setting background on RadioButton |
| Date | 2011-09-09 13:57 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <bf864006-ca3c-462e-80e0-56652ab7bbf9@14g2000prv.googlegroups.com> (permalink) |
| References | <8569a426-7027-4a90-a3be-7801b28b9b7a@a10g2000prn.googlegroups.com> <j4befr$925$1@dont-email.me> |
On Sep 8, 3:10 pm, Knute Johnson <nos...@knutejohnson.com> wrote: > On 9/8/2011 2:54 PM, Fred wrote: > > > How do I set the background color of a JRadioButton using Nimbus L&F? > > setBackground(color) does not work, nor can I get any result from > > setting client property "RadioButton.background". > > > -- > > Fred K > > Have you tried making it opaque? > Thanks, that does it! Looks like Nimbus defaults opaque to false for JRadioButton and JToggleButton, but true for most other components. -- Fred K
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
Setting background on RadioButton Fred <fred.l.kleinschmidt@boeing.com> - 2011-09-08 14:54 -0700
Re: Setting background on RadioButton Knute Johnson <nospam@knutejohnson.com> - 2011-09-08 15:10 -0700
Re: Setting background on RadioButton Fred <fred.l.kleinschmidt@boeing.com> - 2011-09-09 13:57 -0700
Re: Setting background on RadioButton Roedy Green <see_website@mindprod.com.invalid> - 2011-09-10 20:07 -0700
csiph-web