文件名称:java反射小程序
文件大小:5KB
文件格式:TXT
更新时间:2016-05-26 10:23:38
java
package reflectframe; import javax.swing.UIManager; import java.awt.*; public class Reflect { /*main()类 */ boolean packFrame = false; //Construct the application public Reflect() { Frame1 frame = new Frame1(); //Validate frames that have preset sizes /*Pack frames that have useful preferred size info, e.g. from their layout*/ if (packFrame) { frame.pack(); }