Inicio > Java > Listado look and feel instalados con el JDK

Listado look and feel instalados con el JDK

Ejemplo que nos muestra un listado de los look-and-feel que vienen instalados en el JDK

import javax.swing.UIManager;

public class MainClass {
  public static void main(String[] a) {
    UIManager.LookAndFeelInfo[] looks = UIManager.getInstalledLookAndFeels();
    for (UIManager.LookAndFeelInfo look : looks) {
      System.out.println(look.getClassName());
    }
  }
}

Una salida en consola podría ser la siguiente:

javax.swing.plaf.metal.MetalLookAndFeel
com.sun.java.swing.plaf.motif.MotifLookAndFeel
com.sun.java.swing.plaf.windows.WindowsLookAndFeel
com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel
Categorías:Java Etiquetas:
  1. febrero 9, 2013 a las 11:52 am

    Hmm is anyone else having problems with the pictures on
    this blog loading? I’m trying to figure out if its a problem on my end or if it’s the
    blog. Any feedback would be greatly appreciated.

  2. abril 16, 2013 a las 6:10 pm

    Hi there this is somewhat of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML.
    I’m starting a blog soon but have no coding experience so I wanted to get advice from someone with experience. Any help would be greatly appreciated!

  3. abril 17, 2013 a las 3:33 am

    Hi, I desire to subscribe for this blog to get most up-to-date updates, thus where can i do it
    please help.

  4. abril 20, 2013 a las 1:35 am

    Simply want to say your article is as astounding.
    The clarity to your submit is simply excellent and i can assume you’re an expert on this subject. Fine together with your permission allow me to grab your RSS feed to keep updated with approaching post. Thanks one million and please continue the rewarding work.

  5. abril 28, 2013 a las 6:51 pm

    Just want to say your article is as astonishing. The clarity
    in your post is just great and i can assume you’re an expert on this subject. Well with your permission allow me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please keep up the rewarding work.

  6. abril 29, 2013 a las 4:32 pm

    There is certainly a great deal to know about this issue. I really like all of the points you made.

  1. septiembre 27, 2014 a las 2:40 am
  2. septiembre 20, 2015 a las 3:10 am

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: