Close tray popup menu when mouse exit


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Close tray popup menu when mouse exit

  1. #1
    Join Date
    Sep 2004
    Posts
    59

    Close tray popup menu when mouse exit

    Hi,

    I have a small problem (tho i made a workaround for it) .. is it possible to close a JPopupmenu when the mouse has left the JPopupmenu?

    I tried to do it with a

    public void mouseExited(MouseEvent e) {
    }

    but it didn't work, any pointers?
    My own java video tutorials, feel free to watch it.
    http://www.engineeringserver.com/for...amming-b311.0/ Need java help? For beginning and intermediate java coders!

  2. #2
    Join Date
    Sep 2004
    Posts
    59
    I have another questions, i can't bring the jpopup menu in front.
    i tried it with toFront() etc but it doesn't work.
    My own java video tutorials, feel free to watch it.
    http://www.engineeringserver.com/for...amming-b311.0/ Need java help? For beginning and intermediate java coders!

Similar Threads

  1. Replies: 7
    Last Post: 08-15-2006, 04:21 PM
  2. Replies: 1
    Last Post: 09-08-2005, 02:23 PM
  3. hMenu of a PopUp menu
    By Juergen Thuemmler in forum VB Classic
    Replies: 2
    Last Post: 09-17-2002, 06:16 PM
  4. Context menu manipulation
    By nnch97 in forum .NET
    Replies: 8
    Last Post: 07-02-2002, 03:09 PM
  5. Disable menu item in popup menu using API
    By Aziem in forum VB Classic
    Replies: 0
    Last Post: 06-02-2000, 05:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center