[kepler-dev] bug#5501 - kepler linux LnF

Derik Barseghian barseghian at nceas.ucsb.edu
Tue Nov 15 12:51:54 PST 2011


Hi Tomek,

Thanks for the suggestion, even though 2 of my complaints are still there (gap in toolbar, highlighted components tree) Nimbus looks nicer than my default gnome LnF on ubuntu, including making the dropdowns not blend in with our background colors. And this would return us to the state of all linuces looking the same (arguable if this is preferable).

If someone doesn't have a version of Java 1.6 w/ Nimbus, the default LnF is used, so I suppose we could still generically say kepler requires "Java 1.6".

Unfortunately bug#5501 is still a problem (albeit w/ different NPE stack trace). The trace again does not start in our code.

Derik

On Nov 14, 2011, at 11:54 PM, Tomasz Żok wrote:

> Hi,
> 
> Maybe you can consider using Nimbus LnF? It is a standard LnF available in
> every Java installation since JRE 6u10. No special libraries are required.
> 
> The classname for LnF is:
> com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
> 
> Some information and general screenshot:
> http://blogs.oracle.com/CoreJavaTechTips/entry/swingset3_nimbus_and_java_se
> 
> And also I attach a screenshot of Kepler running under this LnF.
> 
> Regards,
> Tomek
> 
> 
> On 11/10/11 at 08:06pm, Matt Jones wrote:
>> If the native L&F is now rendering buttons et. al properly, then I would
>> argue we should switch back to that.  For linux, we don't have the
>> resources to test all of the potential distributions and all of the
>> potential window managers and themes on each, but if the stock Ubuntu gnome
>> theme works then it seems reasonable to ship that from my perspective.
>> Other opinions?
>> 
>> Matt
>> 
>> On Thu, Nov 10, 2011 at 7:52 PM, Derik Barseghian <barseghian at nceas.ucsb.edu
>>> wrote:
>> 
>>> A quick solution to
>>> http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5501 is to stop using
>>> JGoodies Looks LnF for linux, and use the native LnF.
>>> 
>>> I haven't yet found a solution where we continue to use JGoodies Looks
>>> LnF; the bug is a little tricky because the stacktraces don't include
>>> references to our code.
>>> 
>>> Ubuntu's gnome doesn't look quite as nice (see screenshot attachment on
>>> bug). I don't know how the other linuces look.
>>> 
>>> Thoughts? Worth delaying 2.3 to track down? Even without the bug, I
>>> imagine an argument could be made to use a user's native LnF.
>>> 
>>> Derik
> 
> -- 
> Tomasz Zok
> Poznan Supercomputing and Networking Center
> ul. Noskowskiego 10, 61-704 Poznan, POLAND
> http://www.man.poznan.pl
> <2011-11-15-084819_1276x777_scrot.png>



More information about the Kepler-dev mailing list