J
Jason Cavett
I have created a JPanel that uses a FlowLayout to hold a series of
buttons. However, the height of the JPanel is too tall. It's not as
simple as setting the dimensions or anything like that. Essentially,
I want to remove the "border" (or the buffer) that surrounds the edges
of the JPanel to bring the edges as close as possible to the edges of
the buttons but without touching.
If I do just try to set the JPanel's dimensions, the distance between
the top of the buttons is farther away than the distance between the
bottom.
Is this possible to do? Thanks.
buttons. However, the height of the JPanel is too tall. It's not as
simple as setting the dimensions or anything like that. Essentially,
I want to remove the "border" (or the buffer) that surrounds the edges
of the JPanel to bring the edges as close as possible to the edges of
the buttons but without touching.
If I do just try to set the JPanel's dimensions, the distance between
the top of the buttons is farther away than the distance between the
bottom.
Is this possible to do? Thanks.