Examples of GTKLookAndFeel


Examples of com.sun.java.swing.plaf.gtk.GTKLookAndFeel

   
    /** Create a new {@code SwingUI}. Loads gui settings and shows the gui. */
    public SwingUI() {
       
        // Try to change the look and feel to gtk as it looks better.
        GTKLookAndFeel gtk = new GTKLookAndFeel();
       
        if (gtk.isSupportedLookAndFeel()) {
           
            try {
                Logger.info(this, "Switching to gtk look and feel.");
                UIManager.setLookAndFeel(gtk);
            } catch (UnsupportedLookAndFeelException e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.