Package javax.swing.plaf.nimbus

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


    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

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

        checkImages();

        UIManager.setLookAndFeel(new NimbusLookAndFeel());

        checkImages();
    }
View Full Code Here

    @Override
    public void setVisible(boolean b) {
        super.setVisible(b);
        try {
            javax.swing.UIManager.setLookAndFeel(new NimbusLookAndFeel());
        } catch (Exception ex) {
            Logger.getLogger(VentanaFactura.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
View Full Code Here

TOP

Related Classes of javax.swing.plaf.nimbus.NimbusLookAndFeel

Copyright © 2018 www.massapicom. 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.