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 72440 - Use GTK L&F by default on Solaris/Linux
Summary: Use GTK L&F by default on Solaris/Linux
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: PC Solaris
: P1 blocker (vote)
Assignee: David Simonek
URL:
Keywords: GTK, UI
Depends on: 86269 94981 86265 86266 86267 86268 86270 86271 86272 86273 88226 89392 89393 91072 91188 91338 91618 91719 93658 94983 97045
Blocks: 91614
  Show dependency tree
 
Reported: 2006-02-08 23:08 UTC by chrispcampbell
Modified: 2008-12-22 11:40 UTC (History)
7 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chrispcampbell 2006-02-08 23:08:17 UTC
Currently, the NetBeans IDE uses the default (cross-platform) Ocean L&F on Solaris (and Linux?) instead 
of the GTK L&F, so it really does not look like it fits in with the native desktop.

The impetus for this RFE comes from a Java-on-Solaris discussion within Sun.  We would like to see 
more developers using Swing to develop applications on the Solaris desktop, but right now, NetBeans is 
just furthering the stereotype that Swing apps can't/don't look like native applications.  This issue is 
somewhat related to a Matisse RFE I just filed:
72438: Add toggle to allow switching between L&Fs

There were a number of issues with Swing's GTK L&F in JDK 5 that understandably might make it 
difficult for NB to switch over on Solaris/Linux.  But there have been considerable improvements in the 
GTK L&F in JDK 6 in terms of performance and native fidelity, so now would be a good time for NB to 
use the GTK L&F by default (at least when NB is running on Mustang or later).  This would help bring NB 
in line with the behavior of other platforms (e.g. NB on Windows and Mac OS X both use the native L&F).  
It would also send the message that Sun is serious about the GTK L&F, and NB would make a nice 
testcase for the GTK L&F so that we can pound on that L&F code and catch any problems/bugs before 
Mustang ships.
Comment 1 David Simonek 2007-02-12 17:49:57 UTC
Switched to GTK L&F by default on Solaris/Linux platforms for java versions
1.6.0 update 1 and newer:

Checking in Startup.java;
/cvs/core/swing/plaf/src/org/netbeans/swing/plaf/Startup.java,v  <--  Startup.java
new revision: 1.24; previous revision: 1.23
done
Comment 2 Marian Mirilovic 2007-03-27 13:58:42 UTC
Dafe, 
this is fixed, isn't it ?

If not, please change TM, thanks in advance.
Comment 3 David Simonek 2007-03-28 16:41:55 UTC
Yes, starting from M8 GTK is used where appropriate. There are still some issues
left, but these will be adressed individually. Marking as fixed.