1、代碼:Toolkit.getDefaultToolkit().setDynamicLayout(true); 功能:動態調整Components的位置和大小 as soon as Parent Container resized.
2、代碼:UIManager.put("swing.boldMetal", Boolean.FALSE); 功能:用默認的Metal Layout時,字體一般都是粗體,不咋好看,用上述代碼可以改為常規字體