- minor, set preferred size to 640 * 480
This commit is contained in:
Heng Sin Low 2009-12-10 10:11:39 +00:00
parent 37692c7e03
commit a5d1b2c540
2 changed files with 3 additions and 2 deletions

View File

@ -93,6 +93,7 @@ public class FieldRecordInfo extends CDialog
{ {
log.log(Level.SEVERE, "", e); log.log(Level.SEVERE, "", e);
} }
this.setPreferredSize(new Dimension(640, 480));
AEnv.positionCenterWindow (owner, this); AEnv.positionCenterWindow (owner, this);
AEnv.showCenterScreen(this); AEnv.showCenterScreen(this);
} // FieldRecordInfo } // FieldRecordInfo

View File

@ -76,8 +76,8 @@ public class WFieldRecordInfo extends Window implements EventListener
super (); super ();
this.setTitle(title); this.setTitle(title);
this.setAttribute("modal", Boolean.TRUE); this.setAttribute("modal", Boolean.TRUE);
this.setWidth("600px"); this.setWidth("640px");
this.setHeight("400px"); this.setHeight("480px");
this.setBorder("normal"); this.setBorder("normal");
this.setSizable(true); this.setSizable(true);
this.setClosable(true); this.setClosable(true);