This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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!