I\'m trying to get the Layout of a JDialog of mine to fit a particular look that a program in which I\'m porting to Java has, I\'ve used several LayoutManagers
JDialog
button.setMaximumSize(getMaximumSize());