[6098] in java-interest
Re: move a button in a frame
daemon@ATHENA.MIT.EDU (Hai Nguyen)
Tue Mar 19 16:30:41 1996
Date: Mon, 18 Mar 1996 17:05:42 -0800
Reply-To: Java Interest <JAVA-INTEREST@JAVASOFT.COM>
From: Hai Nguyen <cuhi@FTA.COM>
To: Multiple recipients of list JAVA-INTEREST
<JAVA-INTEREST@JAVASOFT.COM>
> I added some buttons in a frame and I want to move them to new locations by
> executing button1.move(200,200). However, I did not see the buttons moving
> to the new locations. When I use the location() method to check the current
> x,y coordinates, they have been updated to the new coordinates. How can
> I make the physcial changes take place?
Try this after moving the buttons:
pack();
show();