Adding Button to my interface
Hi, I have try to make a frame and adding some buttons following the tutorial under java.sun.com. The button was successfully created but the location of the button is on the top centre of the frame and I have been trying to change the location of the button using button1.setLocation() etc but the button remains on the top centre. Does anyone know how I can configure the location of the button instead of using JFrame in Netbean to just drag and drop the button to my desire location? Thanks