Example #1
0
 public void setBounds(int x, int y, int width, int height) {
   super.setBounds(x, y, width, height);
   this.left = x;
   this.top = y;
   this.width = width;
   this.height = height;
 }
Example #2
0
 /*public BASE_FIELD(String text){
     super(GLOBAL.c2b(text,GLOBAL.FIELD));
     //this.par = par;
     //enableEvents(AWTEvent.FOCUS_EVENT_MASK);
     //setFont(new Font(font_face,font_family,font_size));
 }*/
 public void setSize(Dimension d) {
   super.setSize(d);
   width = d.width;
   height = d.height;
 }