Hi there, I want to draw/place an etched line across a JFrame/JPanel. How do I go about doing this? (A line to separate stuff placed on the panel.) Thanks for any assistance.
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 :
-nate
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.