I read the java sun tuts on gridbaglayout but I am still struggling as far as learning how to place controls.Can someone tell me how to position componenets on a gridbaglayout pane the exact way i want them to be layed out?

October 21st, 2009, 06:08 AM

TimW

Re: Want to move my button away from center.

Instead of using GridBagLayout, try using FlowLayout. It will set the button to the top center of the panel.