Avatar of prain
prain
Flag for United States of America asked on

Pure Java GUI Link Text Question

I am wondering how to do in pure Java (Not javascript etc as my application is a Desk top application and NOT brower based) if I have a jlabel, when the user hovers the label I want to show a message box and then when the mouse moves outside the boundry of the label, the message box closes. How to do this?
Java

Avatar of undefined
Last Comment
CEHJ

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
HonorGod

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
prain

ASKER
Yes I know the tooltip, but that is pretty constrained for my requirement. The message I cam planning to popup is not just text. I has several graphical components such as images etc. the message box is fairly big. So it is not possible to achieve all these in a ToolTip.
SOLUTION
CEHJ

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
prain

ASKER
Finally I decided to use a JWindow on mouse listners.
CEHJ

Yes, a JWindow is essentially an undecorated window
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck