Does anyone know of an open source swing tooltip library that works like eclipse's tooltips? Specifically, the functionality I'm looking for is a tooltip that acts like a regular tooltip, but persists when you press F2 (or some key) so that you can copy the contents to the clipboard.
Thanks.
Not tested myself, but maybe the JCustomTooltip
(based on the javax.swing.JToolTip
class)
of prefuse.org:
setPersistent(boolean inter)
Sets if the tooltip will stay persistent on the screen to support interaction within the tooltip component.
Since the sources are available, that could be a starting point to code your own version.