This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 205804

Summary: GTK+ LAF uses bad menu font color
Product: platform Reporter: LiborJelinek
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: CLOSED WONTFIX    
Severity: normal CC: anebuzelsky
Priority: P3 Keywords: L&F
Version: 7.0.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Example font color of native/other Swing apps vs. NB IDE
Not only NB IDE but every Swing app uses bad menu font color

Description LiborJelinek 2011-12-01 20:11:16 UTC
Created attachment 113726 [details]
Example font color of native/other Swing apps vs. NB IDE

To get the most native look I added

--laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel

in netbeans_default_options in etc/netbeans.conf file. Obtained LAF is nearly perfect but bad color of font used in menubar.

In native GTK+ apps and other Swing apps it's black, NB IDE uses white. Please have a look on attachment.
Comment 1 Stanislav Aubrecht 2011-12-02 12:50:56 UTC
please attach a screenshot of swingset demo application running in the same environment

i also need the os and java version info, thanks
Comment 2 LiborJelinek 2011-12-04 02:29:53 UTC
Created attachment 113798 [details]
Not only NB IDE but every Swing app uses bad menu font color
Comment 3 LiborJelinek 2011-12-04 02:30:57 UTC
I am so sorry. Not only NB IDE but every Swing app including SwingSet2 with GTK+ LAF use bad menu font color...

(On Xubuntu 11.10 32b, Greybird theme and Oracle JDK 7.)

$ java -version
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) Server VM (build 21.1-b02, mixed mode)

$ uname -a
Linux libor-OptiPlex-360 3.0.0-13-generic-pae #22-Ubuntu SMP Wed Nov 2 15:17:35 UTC 2011 i686 i686 i386 GNU/Linux
Comment 4 Stanislav Aubrecht 2011-12-05 09:45:07 UTC
file a JDK bug please and post the bug link here, thanks
Comment 5 LiborJelinek 2011-12-05 10:43:07 UTC
I'm always unsure where... To Oracle/Sun's bug parade or to OpenJDK?

Alternatively maybe I also should file a bug on Xubuntu issuezilla Launchpad...