Package com.jgoodies.looks.plastic

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


     * 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

        // 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

    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

     * @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

     * @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

     * @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

TOP

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

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.