acmeuniverse / tunesremote-se

Automatically exported from code.google.com/p/tunesremote-se
1 stars 0 forks source link

Native Look And Feel on each OS #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On Windows the default Metal look and feel looks really clunky.  The best 
option would be to default to the OS's default Look and Feel.

To do this in TunesRemoteSE.java in the main() method before instantiating the 
new TunesRemoteSE().

public static void main(String[] args) throws ClassNotFoundException {
...
...
...
  try {
     UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
  } catch (Exception ex) {
        System.err.println("Look and Feel Error : " + ex.getMessage());
  }

  new TunesRemoteSE();
}

This will give the Native Look and Feel on each OS (Linux, OSX, Windows) etc 
instead of the Metal Look And Feel.

Original issue reported on code.google.com by mellowaredev on 27 Aug 2011 at 5:13

GoogleCodeExporter commented 9 years ago

Original comment by nick.gl...@lycos.com on 31 Aug 2011 at 6:47