I have a JPanel (configItems) created using the GUI designer. I also have a
JDialog into which I setContentPane(configItems). As you can see in the
first image attached (configitems.bmp) - the JPanel has a margin around it
but I have set margins to 0,0,0,0 in the GUI designer? I want to get rid of
this margin but I cannot find where it is set?
The problem is, I have another JDialog with a diffierent JPanel
(configEditor) set as its contentPane and it shows up without the margins
when I run it (see image two configeditornoinset.bmp).
The reason this margin is a problem is clear when the second JDialog with
configEditor is enhanced with the configItems JPanel. The configItems JPanel
has a huge margin around it (making all the items appear centered) whereas
the items from the configEditor panel (at the top) have no margin whatsoever
(see image three configeditorwithinset.bmp)?
I can provide source code/forms etc if required but any help would be