Results 1 to 3 of 3
  1. #1
    Peggy is offline Member
    Join Date
    Dec 2008
    Posts
    3
    Rep Power
    0

    Default Adding popup Menu on animation

    Hello All,

    I have created a animation in Swing.Now i need to add a pop-up menu on the animation on a mouse rigt-click.So,how do i go about doing this?Should i need to use two layers?

    Thanks

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

    Default

    I haven't a clue what yo mean by two layers, but you can probably find all you need to know here:
    How to Use Menus (The Java™ Tutorials > Creating a GUI with JFC/Swing > Using Swing Components).

    db

  3. #3
    Peggy is offline Member
    Join Date
    Dec 2008
    Posts
    3
    Rep Power
    0

    Default

    I donno if i really can add layers.Can i add a pop-up menu (that is when i right click) on the animation?

Similar Threads

  1. add PopUp menu by NetBeans
    By hungleon88 in forum AWT / Swing
    Replies: 1
    Last Post: 09-12-2008, 01:05 PM
  2. Replies: 0
    Last Post: 07-25-2008, 02:32 PM
  3. Replies: 0
    Last Post: 07-07-2008, 04:47 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
  •