Centering Buttons in a FLow Layout
posted 11 years ago
I've got two buttons in a JFrame, and I'm using a flow layout. Is there a way to center the buttons in the JFrames content pane vertically. I can set it manually by adjusting the "vGap", but is there another way?