English 中文(简体)
JTabbedPane: 表格前后的部件
原标题:
  • 时间:2009-05-20 16:08:56
  •  标签:
最佳回答

最后,我询问了Kry of Substance LaF /laf-widget,他如何设法将丁顿放在与JTabbedPanes脱钩的植被表上,这是他的回答:

It relies on the BasicTabbedPaneUI.tabAreaInsets field to make room for the button, and custom setBounds of the button component to position itself in that area.

For more code, see TabOverviewButton and TabOverviewDialogWidget classes in the laf-widget project.

In general, the tabbed pane UI delegate is one of the least attractive ones to enhance since it has a lot of private and package protected methods

感谢Kirill!

问题回答

JIDE 作为其组成部分的一部分,有制成的笔记本,使这一功能成为一种简单的编织物(BeforeComponent())和固定的对应方法。

The s a demo of it in here:





相关问题
热门标签