Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Real time contextual help while perusing items in a Choice

  Asked By: Rani    Date: Oct 18    Category: Java    Views: 677
  

While a user is using a Choice (pop-up menu), I'd like to show
contextual help for whichever item the user is presently over.

For example, it the items are Apple, Orange, Banana, I'd like to show
in real time the picture of an apple, of an orange or of a banana (in
a separate panel), according on which item the mouse is over.

The problem I have is that, the moment the user clicks the Choice,
the list of items opens in what I assume is a new window generated by
the Peer, and I no longer know where the mouse is. I could run a
thread to check the mouse position periodically, but I understand
that I have no way of asking Java where the mouse is. (I am not using
Swing.)

Do you think this is doable? Can you thing of an approach? Should I
forget about using a Choice and make my own component?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Real time contextual help while perusing items in a Choice Or get search suggestion and latest updates.




Tagged: