In Swing 1.1 Beta 2 the CDE/Motif PLAF seems to put a large gap size
or interspacing between components.
I have a three JButtons with an image icon aligned right and text
label aligned to the right inside of a normal JPanel. The JPanel is
managed by a custom row column layout manager which forces the bounds
of the components. In the Metal PLAF this displays very nicely with
buttons layed very close together. However when I switch to the
CDE/Motif PLAF the interspace between buttons expands, consequently
the JButton look a little __squoshed__!
I have tried AbstractButton.setMargins( new Insets( 1,1,1,1 ) )
But this does not work. I think the Motif PLAF UI adds the
interspacing but I dont know where to find it. If I can find it,
perhaps it just possible I can override it.
Any Ideas?