Closing Swing JTabbedPane tabs in Java 1.5?

Java 6 introduces "Tab Components" and allows you to add arbitrary components to the tab. But, if you're stuck in Java 1.5, and need to provide the same use case, what are the alternatives? (I just need users to be able to close tabs...there has to have been a workaround for this prior to the release of Java 6.)


Caveat: I have not tried any of these:

Need Your Help

Git hooks for symlink convertion on Windows

windows git hook symlink

I tried make git hooks on Windows to do automatically convert unix symlinks located in repository to hardlinks+junctions windows on local machine. How I may do this? We use a mix of Windows and Unix

How to resize the height of the subgrid in dynamics crm forms?

javascript forms dynamics-crm subgrid

After spending the whole day, I am posting the following question.