Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: "John B. Matthews" Newsgroups: comp.lang.java.gui Subject: Re: Anybody know how to set the color of the text in a disabled JMenuItem? Date: Fri, 19 Aug 2011 07:01:47 -0400 Organization: The Wasteland Lines: 22 Message-ID: References: NNTP-Posting-Host: LQJtZWzu+iKlBROuDg+IUg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:4642 In article , markspace <-@.> wrote: > On 8/18/2011 4:06 PM, Knute Johnson wrote: > > > Thanks for that but apparently I asked the wrong question. Why > > can't I change the foreground color on my JMenuItem like you can? > > I'm running 1.7 on Windows XP. It may be something different with > > the LookAndFeel. > > > I'm running Java 7 on Windows 7. My LNF is just the default one > (might be Synth). I was running within NetBeans 7.0.1 IDE. Can't > say why it doesn't work for you. Have the related UI defaults for MenuItem.* changed? -- John B. Matthews trashgod at gmail dot com