Examples of Plastic3DLookAndFeel


Examples of com.jgoodies.looks.plastic.Plastic3DLookAndFeel

public class JUsenet {

    public static void main(String[] args) {
        try {
            UIManager.setLookAndFeel(new Plastic3DLookAndFeel());
        } catch (Exception e) {}
       
        new JUsenet();
    }
View Full Code Here

Examples of com.jgoodies.looks.plastic.Plastic3DLookAndFeel

     * Install the green theme and JGoodies Plastic3DLookAndFeel.
     */
    public static void installGreenTheme() {
         PlasticLookAndFeel.setCurrentTheme(new GreenTheme());
        try {
            UIManager.setLookAndFeel(new Plastic3DLookAndFeel());

            // OT-490: set ToolTip.background color to beige
            UIManager.put("ToolTip.background", new ColorUIResource(245, 245, 220));
        } catch (Exception ex) {
            DialogUtil.error(ex);
View Full Code Here

Examples of com.jgoodies.looks.plastic.Plastic3DLookAndFeel

        // Look and feel
        System.setProperty("apple.laf.useScreenMenuBar", "true"); // only applies to default Mac OS X L&F
        if (setLookAndFeel) {
            try {
                UIManager.setLookAndFeel(new Plastic3DLookAndFeel());
            } catch (UnsupportedLookAndFeelException e) {
                DialogUtil.error(e);
            }
        }
        UIManager.put("ToolTip.background", new ColorUIResource(245, 245, 220));
View Full Code Here

Examples of com.jgoodies.looks.plastic.Plastic3DLookAndFeel

    protected void initComponents() {

        // set application L&F
        log.debug( "Setting Look & Feel" );
        try {
            UIManager.setLookAndFeel( new Plastic3DLookAndFeel() );
        }
        catch ( Exception e ) {
            log.error( e.getMessage() );
        }
View Full Code Here

Examples of com.jgoodies.looks.plastic.Plastic3DLookAndFeel

     * @throws javax.swing.UnsupportedLookAndFeelException
     */
    public static void main(String[] args) throws UnsupportedLookAndFeelException {
        LookAndFeel lf;
        Plastic3DLookAndFeel.setPlasticTheme(new ExperienceRoyale());
        lf = new Plastic3DLookAndFeel();
        UIManager.setLookAndFeel(lf);
        ensureDatabase();
        DBHelper.openConnection();
        Event evt = Event.findById(1);
        System.out.println("Net Amount: " + evt.getNetAmount());
View Full Code Here

Examples of com.jgoodies.looks.plastic.Plastic3DLookAndFeel

     * @param args
     * @throws UnsupportedLookAndFeelException
     */
    public static void main(String[] args) throws Exception {
        // set up and show main window
        UIManager.setLookAndFeel( new Plastic3DLookAndFeel() );
        CompanyRegistry registry = new CompanyRegistry();
        BrokerWindow window = new BrokerWindow( registry.getCompanies() );
        window.show();
       
        Broker broker = new Broker( window, registry );
View Full Code Here

Examples of com.jgoodies.looks.plastic.Plastic3DLookAndFeel

     * @param args
     * @throws UnsupportedLookAndFeelException
     */
    public static void main(String[] args) throws Exception {
        // set up and show main window
        UIManager.setLookAndFeel( new Plastic3DLookAndFeel() );
        Locale.setDefault( Locale.US );
        CompanyRegistry registry = new CompanyRegistry();
        BrokerWindow window = new BrokerWindow( registry.getCompanies() );
        window.show();
        //Thread.sleep( 10000 );
View Full Code Here

Examples of com.jgoodies.plaf.plastic.Plastic3DLookAndFeel

    try {
      UIManager.getLookAndFeelDefaults().put("ClassLoader",
          SystemStartup.class.getClassLoader());
      // set the look and feel and override some colors.
      Plastic3DLookAndFeel.setMyCurrentTheme(new ExperienceBlue());
      UIManager.setLookAndFeel(new Plastic3DLookAndFeel());
      //            UIManager.put( "Tree.background", Color.lightGray );
      //            UIManager.put( "Tree.textBackground", Color.lightGray );
      //            UIManager.put( "Tree.selectionBackground", Color.white );
      //            UIManager.put( "Tree.selectionForeground", Color.blue );
      //            UIManager.put( "Tree.drawsFocusBorderAroundIcon", new
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.