How to Split Component vertically into different parts? Is It possible in Swing? I want to assign different ScrollBar to each part ?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Try using JSplitPane. Then put a JScrollPane into each side.
If you want more than one split, you'd have to nest the split panes. Or use a multi-splitpane like this: MultiSplitPane
you should use the JSplitPane
if you need each part to be on a diffrent scroller - just put them on to diffrent scroller pane.