小弟刚做swing大家进来帮帮忙 这可能要计算一下吧,首先获得相对坐标,在获得frame的location然后通过换算就能得到了吧。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 look&feel 只能整体设置,不能对单个控件设置的setUI 函数,只是设置 控件在屏幕上的显示内容的,不是设置控件的 look&feel 的一个简单的 look&feel 设置代码: 放在 主窗体的构造函数中就可以了 try { //UIManager.setLookAndFeel("net.beeger.squareness.SquarenessLookAndFeel"); UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel"); //UIManager.setLookAndFeel("com.stefankrause.xplookandfeel.XPLookAndFeel"); //UIManager.setLookAndFeel("com.incors.plaf.kunststoff.KunststoffLookAndFeel"); SwingUtilities.updateComponentTreeUI(this); } catch (Exception ex) { ex.printStackTrace(); } 关于声明变量 一道面试题帮忙解决 高手请进:能否用JAVA来实现更换WXP桌面背景的功能?? 有关dom,sax等的简单问题 如何解决Jbuilder+Weblogic+Oralce! 用JAVA,Eclipse实现成绩管理系统用HTML写怎么弄 有关使用JAVA技术来操作ZIP文件的一个问题,很急的!!!!!! 怎样才能用java实现图片随机动态效果? 新手请教~!! 如何取得数组的长度? 问题:100分!急急急 关于比较String返回值
try {
//UIManager.setLookAndFeel("net.beeger.squareness.SquarenessLookAndFeel");
UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel");
//UIManager.setLookAndFeel("com.stefankrause.xplookandfeel.XPLookAndFeel");
//UIManager.setLookAndFeel("com.incors.plaf.kunststoff.KunststoffLookAndFeel");
SwingUtilities.updateComponentTreeUI(this);
} catch (Exception ex) {
ex.printStackTrace();
}