Reputation: 2113
I want to create a layer in Java Swing which will be displayed when I move my mouse over a specific region on editor pane.
Upvotes: 1
Views: 270
Reputation: 32831
Yes, You must create a Component to draw whatever it is you want to show, and set it as the glasspane of a frame. I have created a loupe this way. For more information, see here.
Upvotes: 2