展开全部
可以设置LookAndFeel,通过第三方皮肤:
可选使用substance、JTattoo、liquidlnf等,我当前使用的是JTattoo的皮肤,swing/awt的默认皮肤确实是有点那个...LZ可以去32313133353236313431303231363533e4b893e5b19e31333339666132G一下上述皮肤,你会发现你的界面会很NICE的.
如下代码是我使用JTattoo的SmartLookAndFeel主题皮肤的方法,GoodLuck!
Java code?
public static void main(String[] args) {
JFrame.setDefaultLookAndFeelDecorated(true);
JDialog.setDefaultLookAndFeelDecorated(true);
try {
SmartLookAndFeel.setTheme("Green");
SmartLookAndFeel lookFeel = new SmartLookAndFeel();
javax.swing.UIManager.setLookAndFeel(lookFeel);
} catch (Exception e) {
e.printStackTrace();
}
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new ToolMainFrame().setVisible(true);
}
});