It’s pretty nifty that JComponents all have a tooltip. However, what about creating tooltips with your own look and feel that don’t have the java background and the same restrictions? How about a completely custom tooltip class that we draw all pretty with openGL?
The problem I can’t seem to get my head around is if there’s a non-brute force method for determining if it’s time to display a particular tooltip over something we have our mouse over. I know that swing probably does it internally for JComponents with mouseEntered, would be required to implement some sort of thing on our entities? I mean at some level deep in java, there must be some kind of calculation that straight up checks whether your mouse is inside the component or not, we just think of it as magic because swing has so much abstraction.
Having the entities (Items on the ground, for example) checking to see if the mouse is over them every update just seems bad. The alternative seems to be implementing some kind of interface and using event firing somehow. I just don’t feel like I want to redesign an entire feature of JComponent. Has anyone implemented something similar?

Maybe this backend might be used with JOGL 2.