abc123
abc123

Reputation: 3

Drawing lines on Content pane Javax swing

I'm trying to separate pieces of my JFrame window with lines like this:

enter image description here

How can I do this? I've searched but it's hard to search as I'm not really too sure how to describe it without the image.

Upvotes: 0

Views: 122

Answers (1)

Armine
Armine

Reputation: 1695

If I understand correctly, what you want, it is called separator and the class which can be used in Swing is JSeparator

enter image description here

Upvotes: 3

Related Questions