JSeparator

I have panelA and panelB each displaying components and both have different background colors. panelA is above panelB on the frame; The first component I have added to panelB is a JSeparator in a horizontal positon to indicate the split between the two panels. But when I add it it is placed a couple of pixels down from the top of the panel. Is there a way to place it on the panel so it is the set at the first pixel with none of the background color above it? I am using GridBagLayout.

[495 byte] By [new_ba] at [2007-10-2 10:37:02]
«« Hi..
»» regex help
# 1
would it be easier to use a JSplitPane with the divider disabled?
Michael_Dunna at 2007-7-13 2:40:40 > top of Java-index,Desktop,Core GUI APIs...