If you need to be able to move the line around to resize the components on either side, you should use the JSplitPane class that comes with Swing. If you just need a line, you can use a JSeparator kinda like this :
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Joined: Feb 27, 2002
Hey, thanks a lot! It's the JSeparator I needed, not the JSplitPane. Great help...thanks a million. Works wonderfully!