Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2009
    Rep Power

    Red face making pop up menu and more- please help

    sorry to annoy people who understand this stuff, wanted to know how to make a pop up menu with four buttons, three of them leading to mini popup programs (how do i do that?) and the last one exiting the whole program. completley lost, very blonde when it comes to java-thanks for any help :o

  2. #2
    Xyle's Avatar
    Xyle is offline Member
    Join Date
    Feb 2009
    Rep Power


    You'll probably need to specify if your looking at a graphical solution or swing/awt buttons and windows.

    With graphics, alot of if statements and mouse click captures that designate what window images, button images and mouse click coordinates to capture.

    With swing/awt, create seperate menu objects with buttons, instantiate or define them in the main program and when the user clicks a button on the main program, it will launch the popup menu.

    Hope this helps a little.

  3. #3
    Webuser is offline Senior Member
    Join Date
    Dec 2008
    Rep Power


    It is a JPopupMenu component in Swing for example )
    And moreover you have to provide right mouse click catching as for popup menu )
    It is all concerning events in Java and so on.
    So... just asking of popupmenu is not quite correct because it is not a short piece of work. Begin some popupmenu coding and then if you have some code questions come here )
    You can observe java popupmenu tutorials (in your IDE) for example or to use an IDE templates first...

Similar Threads

  1. Help making a main menu.
    By pbd2 in forum Java Applets
    Replies: 2
    Last Post: 10-17-2008, 10:53 AM
  2. Fill a menu dynamically when menu is shown
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-07-2008, 04:47 PM
  3. How to use SWT menu and menu event
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-07-2008, 04:46 PM
  4. React to menu action and checkbox menu
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-27-2008, 07:50 PM
  5. Replies: 7
    Last Post: 05-09-2008, 07:54 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