如何使用java netbeans使用关闭按钮向选项卡式窗格添加选项卡 [英] how to add tabs to tabbed pane with close button using java netbeans
本文介绍了如何使用java netbeans使用关闭按钮向选项卡式窗格添加选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在jtabbed窗格中添加选项卡,关闭按钮
adding tabs in jtabbed pane with close button
推荐答案
如果你使用jdk 1.7那么它很容易你自定义TabbedPane的UI
查看此
http://docs.oracle.com/javase/tutorial/uiswing/components/tabbedpane.html [ ^ ]
If you use jdk 1.7 then it will be easy otherwise you have customise the UI of the TabbedPane
Check this
http://docs.oracle.com/javase/tutorial/uiswing/components/tabbedpane.html[^]
这篇关于如何使用java netbeans使用关闭按钮向选项卡式窗格添加选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文