Examples of NimbusLookAndFeel


Examples of com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel

    public void startWithGUI() {
        System.out.println("Starting MailCheck GUI...");
       
        // Set Nimbus L&F
        try {
            UIManager.setLookAndFeel(new NimbusLookAndFeel());
        } catch(Exception e) {;}

        //Check the SystemTray is supported
        if (!SystemTray.isSupported()) {
            if(globalPreferences.showGUIWarnings)
View Full Code Here

Examples of com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel

        g = new BufferedImage(WIDTH, HEIGHT, BufferedImage.TYPE_INT_ARGB).getGraphics();
    }

    public static void main(String[] args) throws Exception {
        nimbus = new NimbusLookAndFeel();
        try {
            UIManager.setLookAndFeel(nimbus);
        } catch (UnsupportedLookAndFeelException e) {
            throw new Error("Unable to set Nimbus LAF");
        }
View Full Code Here

Examples of com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel

        tf.setSize(WIDTH, HEIGHT);
        tf.paint(img.getGraphics());
    }

    public static void main(String[] args) throws Exception {
        UIManager.setLookAndFeel(new NimbusLookAndFeel());
        SwingUtilities.invokeAndWait(new Test6741426());
    }
View Full Code Here

Examples of com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel

{
    JFrame f;
    WeakReference<JLabel> ref;

    public static void main(String[] args) throws Exception {
        UIManager.setLookAndFeel(new NimbusLookAndFeel());
        Test6919629 t = new Test6919629();
        t.test();
        System.gc();
        t.check();
    }
View Full Code Here

Examples of com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel

        g = new BufferedImage(WIDTH, HEIGHT, BufferedImage.TYPE_INT_ARGB).getGraphics();
    }

    public static void main(String[] args) throws Exception {
        nimbus = new NimbusLookAndFeel();
        try {
            UIManager.setLookAndFeel(nimbus);
        } catch (UnsupportedLookAndFeelException e) {
            throw new Error("Unable to set Nimbus LAF");
        }
View Full Code Here

Examples of com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel

{
    JFrame f;
    WeakReference<JLabel> ref;

    public static void main(String[] args) throws Exception {
        UIManager.setLookAndFeel(new NimbusLookAndFeel());
        Test6919629 t = new Test6919629();
        t.test();
        System.gc();
        t.check();
    }
View Full Code Here

Examples of com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel

    public static void main(String[] args) {
        Application app = Application.getInstance();
        app.load();
        try {
            UIManager.setLookAndFeel(new NimbusLookAndFeel());
        } catch (UnsupportedLookAndFeelException e) {
            e.printStackTrace();
        }
        Playlist pl = new Playlist();
        JLabel label = new JLabel();
View Full Code Here

Examples of javax.swing.plaf.nimbus.NimbusLookAndFeel

      }
    });
  }
 
  protected static void setLookAndFeel() {
    NimbusLookAndFeel laf = new NimbusLookAndFeel();
    try {
      UIManager.setLookAndFeel(laf);
    } catch (UnsupportedLookAndFeelException e) {
      e.printStackTrace(Output.err);
    }
    UIDefaults nimbUID = laf.getDefaults();
    nimbUID.put("Tree.drawHorizontalLines", true);
    nimbUID.put("Tree.drawVerticalLines", true);
  }
View Full Code Here

Examples of javax.swing.plaf.nimbus.NimbusLookAndFeel

    private void config(boolean reabertura){
        if (!reabertura){
            Logador.getLogador().log(Level.INFO,"pirepview setLookAndFeel");
            try {
                // Configura o Look and feel Nimbus
                UIManager.setLookAndFeel(new NimbusLookAndFeel());
            }
            catch (Exception e) {
                Logador.getLogador().log(Level.WARNING,"pirepview LAF",e);
            }
        }
View Full Code Here

Examples of javax.swing.plaf.nimbus.NimbusLookAndFeel

    public static void main(String[] args) throws Exception {
        UIManager.setLookAndFeel(new SynthLookAndFeel());

        checkImages();

        UIManager.setLookAndFeel(new NimbusLookAndFeel());

        checkImages();
    }
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.