Hi,
Am doing an application in netbeans. I have jpanel inside jframe. If i run it jpanel always comes left side though i changed space around. I want jpanel to come center of jframe when i run it. where to change resolution for this? please help.
Printable View
Hi,
Am doing an application in netbeans. I have jpanel inside jframe. If i run it jpanel always comes left side though i changed space around. I want jpanel to come center of jframe when i run it. where to change resolution for this? please help.
Since you're using NetBeans, who knows what layout manager your JFrame's contentPane is using, and j2me64's advice will only work if is using Borderlayout (and even this is not a guarantee). Your best bet is to read up on how to use layout managers in the Swing tutorials.
ya ok thank you wil try it out..