简体   繁体   English

Java Swing如何像示例中那样完成导航器

[英]Java Swing How can I accomplish a navigator like in the example

For my current project I would like to have a navigator like this: 对于我当前的项目,我想要一个这样的导航器:

在此处输入图片说明

But I couldn't find a Swing component that works like that. 但是我找不到这样的Swing组件。 My question now is, does anyone know how to do this and could explain it to me or give me a tip? 我现在的问题是,有人知道该怎么做,可以向我解释一下还是给我小费?

Along the top is a tool bar ( JToolBar ). 顶部是工具栏( JToolBar )。 On the left is a tabbed pane ( JTabbedPane ) showing a tree ( JTree ) in the current tab. 左侧是一个选项卡式窗格( JTabbedPane ),在当前选项卡中显示一棵树( JTree )。 On the right is a tree table (I would say JTable , but it is a pure table, not a tree table - you might need to look to 3rd party APIs for that part). 右边是一个树表(我会说JTable ,但是它是一个纯表,而不是树表-您可能需要寻找该部分的第三方API)。

More generally, see: 更一般地,请参阅:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM