Results 1 to 9 of 9

Thread: JPopupMenu

  1. #1
    hungleon88 is offline Member
    Join Date
    Aug 2008
    Posts
    41
    Rep Power
    0

    Default JPopupMenu

    I dont know how to make the Popup work, i already add PopupMenu and add the MenuItem, but when i run , RightClick on the application interface and nothing appear.
    Maybe that need some method to display the PopupMenu ??

  2. #2
    playwin2 is offline Member
    Join Date
    Aug 2008
    Posts
    58
    Rep Power
    0

    Default

    Go to the following page and see the section "Bringing Up a Popup Menu"
    How to Use Menus (The Java™ Tutorials > Creating a GUI with JFC/Swing > Using Swing Components)

  3. #3
    ahmed13 is offline Member
    Join Date
    Jan 2009
    Posts
    19
    Rep Power
    0

    Default

    what is the pop menu?? why we use it??

    thank you

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by hungleon88 View Post
    I dont know how to make the Popup work, i already add PopupMenu and add the MenuItem, but when i run , RightClick on the application interface and nothing appear.
    Maybe that need some method to display the PopupMenu ??
    Did you implement the listener in correct way? Better to go through the link that playwin2 post there in his replay.

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by ahmed13 View Post
    what is the pop menu?? why we use it??

    thank you
    Popup menu. You say that you don't know what it's mean?

  6. #6
    ahmed13 is offline Member
    Join Date
    Jan 2009
    Posts
    19
    Rep Power
    0

    Default

    Quote Originally Posted by Eranga View Post
    Popup menu. You say that you don't know what it's mean?
    yes popup menu i want to know somthing about it ...


    thank you for your reply

  7. #7
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

  8. #8
    ahmed13 is offline Member
    Join Date
    Jan 2009
    Posts
    19
    Rep Power
    0

    Default

    thanks for all...

  9. #9
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by ahmed13 View Post
    yes popup menu i want to know somthing about it ...


    thank you for your reply
    I'm confusing here. You just want to know about popup menu in Java swing or looking some common explanation. If you are looking something more related to Java, go through all links db post earlier.

Similar Threads

  1. JPopupMenu falls behind window
    By undertow in forum AWT / Swing
    Replies: 4
    Last Post: 01-17-2008, 10:20 PM
  2. dynamising the height of a JPopupMenu
    By iimasd in forum AWT / Swing
    Replies: 6
    Last Post: 11-21-2007, 10:01 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
  •