Giannis
Giannis

Reputation: 5526

Creating Tree Layout

I am making a network application where users can change channels and I want it to look similar to ventrilo channels (as seen below).

enter image description here

Does anyone knows which Swing classes I should be looking at in order to produce this layout?

Thanks

Upvotes: 2

Views: 370

Answers (3)

trashgod
trashgod

Reputation: 205785

Also, consider org.netbeans.swing.outline.Outline, a hierarchical view derived from JTable. Additional information is shown here.

Upvotes: 2

mKorbel
mKorbel

Reputation: 109813

For Container is there BorderLayout

1) in the Container#NORTH topPanel (username - bindings) with BorderLayout (EAST-CENTER-WEST)

2) in the Container#CENTER are three JPanels

3) in the Container#SOUTH bottomPanel with two JCheckBoxes ba using GridLayout(1, 2)

Upvotes: 2

COD3BOY
COD3BOY

Reputation: 12092

jTree is something you should look into! javax.swing.JTree

Upvotes: 2

Related Questions