This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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!