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.
posted 14 years ago
Hey, thanks a lot! It's the JSeparator I needed, not the JSplitPane. Great help...thanks a million. Works wonderfully!