Java Swing Look and Feel metalLookAndFeel()

Here you can find the source of metalLookAndFeel()

Description

metal Look And Feel

License

Apache License

Declaration

public static void metalLookAndFeel() 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import javax.swing.*;

public class Main {
    public static void metalLookAndFeel() {
        try {/*from w ww. j a v  a  2s. c  o  m*/
            UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
        } catch (ClassNotFoundException e) {
            throw new UnsupportedOperationException("Fix This"); // TODO
        } catch (InstantiationException e) {
            throw new UnsupportedOperationException("Fix This"); // TODO
        } catch (IllegalAccessException e) {
            throw new UnsupportedOperationException("Fix This"); // TODO
        } catch (UnsupportedLookAndFeelException e) {
            throw new UnsupportedOperationException("Fix This"); // TODO
        }

    }
}

Related

  1. isXP()
  2. listLookAndFeels()
  3. lookAndFeelDefault(String style)
  4. lookLikeSystem()
  5. matchLnf(LookAndFeel lookAndFeel, UIManager.LookAndFeelInfo lookAndFeelInfo)
  6. nativeLook()
  7. printInstalledLookAndFeel()
  8. printInstalledPLAFs()
  9. setBestLookAndFeelAvailable()