Chinaunix首页 | 论坛 | 博客
  • 博客访问: 576853
  • 博文数量: 98
  • 博客积分: 4045
  • 博客等级: 上校
  • 技术积分: 1157
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-31 16:56
文章分类

全部博文(98)

文章存档

2010年(7)

2009年(15)

2007年(73)

2006年(3)

我的朋友

分类: Java

2007-06-08 13:10:01


import javax.swing.UIManager;

public class ListPlafs {
  public static void main(String args[]) {
    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());
    }
    System.exit(0);
  }
}

阅读(916) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~