Hi Experts
Can anyone tell me how i can have aclose button("X" button ) on every tab in a tabbed pane.
So that a user can close the tab by clicking the close button on the tab..Its something like what we see in Eclipse when we create a new Class a Tab gets created with a close button on it..
i think you got my question... Can any one help me in this regard..
google could be very helpful...
http://weblogs.java.net/blog/herkules/archive/2005/10/close_icons_on_1.html
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/enhancements/
http://forum.java.sun.com/thread.jspa?threadID=760307&messageID=4340748
http://www.javaworld.com/javaworld/jw-09-2004/jw-0906-tabbedpane.html
FYI, java 6 is supposed to have this functionality built in, so if you can wait until it's released, it will probably be easier.