Hi,would you please tell me: where should we use to position a Button within an application Frame,so that the width of the Button is affected by the Frame size but the height is not. Thanks for your time.
Joined: Nov 22, 2008
Using the border layout manager (a frame's default layout manager), put the button in either the north or south areas. Read up on layout managers, and it'll be clear.