Ejemplo n.º 1
0
 public void setBounds(int x, int y, int width, int height) {
   button.getParent().remove(button);
   button.setBounds(x, y, width, height);
   button.addToParent(button.getParent()); // will i have to do this for
   // every method?
   // why doesn't the component remain malleable after it's added?
 }