Java Swing Look and Feel printInstalledPLAFs()

Here you can find the source of printInstalledPLAFs()

Description

print Installed PLA Fs

License

Open Source License

Declaration

public static void printInstalledPLAFs() 

Method Source Code

//package com.java2s;
/*//from  ww  w.ja va  2s  .c om
 *  Copyright (C) 2013, Thomas Obenaus. All rights reserved.
 *  Licensed under the New BSD License (3-clause lic)
 *  See attached license-file.
 *
 *   Author:    Thomas Obenaus
 *   EMail:      obenaus.thomas@gmail.com
 *  Project:    JavaComponents/Widgets
 */

import javax.swing.UIManager;

public class Main {
    public static void printInstalledPLAFs() {
        UIManager.LookAndFeelInfo plaf[] = UIManager.getInstalledLookAndFeels();
        for (int i = 0, n = plaf.length; i < n; i++) {
            System.out.println("Name: " + plaf[i].getName());
            System.out.println("  Class name: " + plaf[i].getClassName());
        }
    }
}

Related

  1. lookLikeSystem()
  2. matchLnf(LookAndFeel lookAndFeel, UIManager.LookAndFeelInfo lookAndFeelInfo)
  3. metalLookAndFeel()
  4. nativeLook()
  5. printInstalledLookAndFeel()
  6. setBestLookAndFeelAvailable()
  7. setCoolLookAndFeel()
  8. setDefaultLookAndFeel()
  9. setDefaultLookandfeel()