Menu

#1050 JBidWatcher doesn\\\'t use default platform Look & Feel

open
None
6
2007-03-18
2007-03-03
No

Hi,

JBidWatcher doesn't integrate well with my Desktop because it uses Java's default Look & Feel ("Ocean"). I think it should use the default platform L&F, which is easily doable with swing. You might take a look at this:
http://java.sun.com/docs/books/tutorial/uiswing/lookandfeel/plaf.html

Discussion

  • Morgan Schweers

    Morgan Schweers - 2007-03-03
    • milestone: --> Unintuitive/Confusing
     
  • Morgan Schweers

    Morgan Schweers - 2007-03-03

    Logged In: YES
    user_id=19745
    Originator: NO

    Greetings,
    JBidwatcher does try to use the system look and feel. That said, I hadn't actually any idea what Ocean was... :)

    On Linux, I believe the default is 'Metal', which (after glancing at that page) currently means the Ocean theme.

    JBidwatcher definitely uses the OS theme on Windows and Mac OS X, however. In general, I use 'swing.defaultlaf', or if that's not set, I use UIManager.getSystemLookAndFeelClassName().

    -- Morgan Schweers, CyberFOX!

     
  • Anonymous

    Anonymous - 2007-03-03

    Logged In: YES
    user_id=1675309
    Originator: YES

    According to the Sun website mentioned above, it should be possible to set the default look and feel by adding the line
    swing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
    to /usr/java/default/jre/lib/swing.properties

    I've done just that and the swing demos respect it (e. g. they use the GTK look&feel as they should), while JBidWatcher doesn't.

    I've also noticed that it works in JBidWatch when you run it with
    java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -jar JBidWatcher.jar
    Strange...

     
  • Morgan Schweers

    Morgan Schweers - 2007-03-18
    • assigned_to: nobody --> cyberfox
    • summary: JBidWatcher doesn't use default platform Look & Feel --> JBidWatcher doesn\'t use default platform Look & Feel
     
  • Morgan Schweers

    Morgan Schweers - 2007-03-18

    Logged In: YES
    user_id=19745
    Originator: NO

    Greetings,
    Bugs filed after 1.0 and with submitters are being juggled in terms of priority (9 is highest priority). I'm raising bugs filed with a submitter, post-1.0 to P6.

    For everything else, bugs which are filed post-1.0, but without a submitter remain P5. Before 1.0 bugs with a submitter are becoming P4, and pre-1.0 bugs without a submitter name become P3.

    Thanks for your patience, while I try to pare back the bug list to what may actually still be in the program. I may also start to close bugs which are referring to the same issue, leaving either the oldest, or the one with the most activity.

    -- Morgan Schweers, CyberFOX!

     
  • Morgan Schweers

    Morgan Schweers - 2007-03-18
    • priority: 5 --> 6
    • summary: JBidWatcher doesn\'t use default platform Look & Feel --> JBidWatcher doesn\\'t use default platform Look & Feel
     

Log in to post a comment.

MongoDB Logo MongoDB