Package com.jgoodies.looks.plastic

Examples of com.jgoodies.looks.plastic.PlasticXPLookAndFeel


  private LookAndFeelManager() {
  }

  public void init() {
    try {
      LookAndFeel laf = new PlasticXPLookAndFeel();
      UIManager.setLookAndFeel(laf);
      logger.info("Look and feel set to: {}", UIManager.getLookAndFeel());
    } catch (UnsupportedLookAndFeelException e) {
      throw new IllegalStateException(e);
    }
View Full Code Here


      // JGoodies
      Options.setDefaultIconSize(new Dimension(16, 16));    // menu icons
      Options.setUseNarrowButtons(false);
      Options.setPopupDropShadowEnabled(true);

      UIManager.setLookAndFeel(new PlasticXPLookAndFeel());
      _instance = new MainFrame();
    } catch (Exception e) {
      System.err.println(e);
    }
  }
View Full Code Here

        SoapUITheme theme = new SoapUITheme();

        PlasticXPLookAndFeel.setCurrentTheme( theme );
        PlasticXPLookAndFeel.setTabStyle( "Metal" );

        UIManager.setLookAndFeel( new PlasticXPLookAndFeel() );
        UIManager.put( "TabbedPane.tabAreaInsets", new Insets( 3, 2, 0, 0 ) );
        UIManager.put( "TabbedPane.unselectedBackground", new Color( 220, 220, 220 ) );
        UIManager.put( "TabbedPane.selected", new Color( 240, 240, 240 ) );

        PlasticXPLookAndFeel.setPlasticTheme( theme );
View Full Code Here

        // PlasticLookAndFeel.setMyCurrentTheme(settings.getSelectedTheme());
        PlasticLookAndFeel
                .setTabStyle(PlasticLookAndFeel.TAB_STYLE_DEFAULT_VALUE);
        PlasticLookAndFeel.setHighContrastFocusColorsEnabled(false);
        try {
            UIManager.setLookAndFeel(new PlasticXPLookAndFeel());
        } catch (UnsupportedLookAndFeelException e) {
            e.printStackTrace();
        }
        /*
        try {
View Full Code Here

      // JGoodies
      Options.setDefaultIconSize(new Dimension(16, 16));    // menu icons
      Options.setUseNarrowButtons(false);
      Options.setPopupDropShadowEnabled(true);

      UIManager.setLookAndFeel(new PlasticXPLookAndFeel());
      _instance = new MainFrame();
    } catch (Exception e) {
      System.err.println(e);
    }
  }
View Full Code Here

public class MaximizationDemo {

    public static void main(String[] args) {

        try {
            UIManager.setLookAndFeel(new PlasticXPLookAndFeel());
        } catch (UnsupportedLookAndFeelException e) {
            throw new RuntimeException(e);
        }

        boolean loaded = configureDocking();
View Full Code Here

    }


    private FontSet getPlasticFontSet() {
        try {
            UIManager.setLookAndFeel(new PlasticXPLookAndFeel());
            return PlasticLookAndFeel.getFontPolicy().getFontSet("Plastic", UIManager.getDefaults());
        } catch (UnsupportedLookAndFeelException e) {
            return null;
        }
    }
View Full Code Here

        // Override default constructor; prevents instantiability.
    }

    public static Settings createDefault() {
        Settings settings = new Settings();
        settings.setSelectedLookAndFeel(new PlasticXPLookAndFeel());
        settings.setSelectedTheme(PlasticLookAndFeel.createMyDefaultTheme());
        settings.setUseNarrowButtons(true);
        settings.setTabIconsEnabled(true);
        settings.setPlasticTabStyle(PlasticLookAndFeel.TAB_STYLE_DEFAULT_VALUE);
        settings.setPlasticHighContrastFocusEnabled(false);
View Full Code Here

                SoapUITheme theme = new SoapUITheme();

                PlasticXPLookAndFeel.setCurrentTheme(theme);
                PlasticXPLookAndFeel.setTabStyle("Metal");

                UIManager.setLookAndFeel(new PlasticXPLookAndFeel());
                UIManager.put("TabbedPane.tabAreaInsets", new Insets(3, 2, 0, 0));
                UIManager.put("TabbedPane.unselectedBackground", new Color(220, 220, 220));
                UIManager.put("TabbedPane.selected", new Color(240, 240, 240));

                PlasticXPLookAndFeel.setPlasticTheme(theme);
View Full Code Here

     */
    public static void main(String[] args) {
        EventQueue.invokeLater(new Runnable() {
            public void run() {
                try {
                    UIManager.setLookAndFeel(new PlasticXPLookAndFeel());
                    JDialog frame = new JDialog();
                    frame.setLocation(100, 100);
                    frame.getContentPane().add(
                            new ManutencaoContas().createPanel());
                    frame.pack();
View Full Code Here

TOP

Related Classes of com.jgoodies.looks.plastic.PlasticXPLookAndFeel

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.