Java Swing Look and Feel setMotifLookAndFeel()

Here you can find the source of setMotifLookAndFeel()

Description

set Motif Look And Feel

License

Open Source License

Declaration

public static void setMotifLookAndFeel() 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import javax.swing.*;

public class Main {
    public static void setMotifLookAndFeel() {
        try {/*w  ww.  ja  v  a 2  s .c  o m*/
            UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
        } catch (Exception e) {
            System.out.println("Error setting Motif LAF: " + e);
        }
    }
}

Related

  1. setLookAndFeel(String look)
  2. setLookAndFeel(String lookAndFeelClass)
  3. setLookAndFeelByName(final String lookAndFeel)
  4. setLookAndTheme(LookAndFeel laf, Object theme)
  5. setMetalLAF()
  6. setMotifLookAndFeel()
  7. setMotifLookAndFeel()
  8. setNativeLookAndFeel()
  9. setNativeLookAndFeel()