How to create an interface which shows the objects in left side and detail for each object in the right side?

StackOverflow https://stackoverflow.com/questions/12472390

I'm not sure which container or component can help to create the following menu bar. I already created the menu bar and status bar at the bottom. But I have no idea which interface is the best.

enter image description here

I apprecite any help,

有帮助吗?

解决方案

其他提示

The core content (the part in the middle) is using currently using a JSplitPane

You can get similar look using a BorderLayout (on something like) a JPanel. You'd place the index in a JScrollPane down the WEST side of the container and the Details pane in the CENTER

You might also find a CardLayout useful you need to switch panes from the content area

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top