怎样让applet显示成jre1.5的类似windows风格界面? 直接用netbean生成了一个jframe运行后发现是很旧很难看的那种式样,但是现在出来的jre1.5控制面板的式样已经变成了windows风格了,可以通过什么配置让我的iframe也变成这种式样? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 配置你的程序运行时候的UI static { try {// if ( SYSTEM_MODEL_WINDOW.equals ( sysType.getSystemModel() ) )// {// UIManager.setLookAndFeel ( UIManager.getSystemLookAndFeelClassName () ) ;// }// else if ( SYSTEM_MODEL_JAVA.equals ( sysType.getSystemModel() ) )// {// UIManager.setLookAndFeel ( UIManager.getCrossPlatformLookAndFeelClassName () ) ;// }// else// { // UIManager.setLookAndFeel ( new MetalLookAndFeel () ) ;// } UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); //UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName()); } catch (Exception e) { } } 谁来帮我讲解一下这道题~~~谢谢 请教大侠,JAVA中如何实现A类调用B类中的main方法 XML计算某个节点个数 已经一天多了,再解决不了,我就要疯了!jdbc!! 关于java树形图子节点删除的问题 请问如何统计鼠标和键盘的点击率? 请大家看看这段程序,谢谢了 异常抛出的问题? 在resin中运行正常的到了tomcat中就不正常了 新手上路,各位大虾指点迷津! (SWT/JFace)挑战高手~~~~~~~~~~~~~~~~~~~~~~~~ 在JTable中每列文字如何居中
static {
try {
// if ( SYSTEM_MODEL_WINDOW.equals ( sysType.getSystemModel() ) )
// {
// UIManager.setLookAndFeel ( UIManager.getSystemLookAndFeelClassName () ) ;
// }
// else if ( SYSTEM_MODEL_JAVA.equals ( sysType.getSystemModel() ) )
// {
// UIManager.setLookAndFeel ( UIManager.getCrossPlatformLookAndFeelClassName () ) ;
// }
// else
// {
// UIManager.setLookAndFeel ( new MetalLookAndFeel () ) ;
// }
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
//UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
} catch (Exception e) {
}
}