The Artima Developer Community
Sponsored Link

Java Answers Forum
Applets and Right click menus

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Felicity

Posts: 1
Nickname: flic
Registered: Dec, 2002

Applets and Right click menus Posted: Dec 6, 2002 5:51 AM
Reply to this message Reply
Advertisement
I am trying to create a right click menu to a applet and I am having problems activating the submenus.

For the main menu I'm using the command

public void actionPerformed(ActionEvent evt) {

String cmmd = evt.getActionCommand();
if (cmmd.equals("Copy")){
//do copy
repaint(); }

which works but I cant get this type of command to work for any of the submenus, has anyone any ideas

Any help is greatly appreciated xxx

Topic: C++ pointers to variables Previous Topic   Next Topic Topic: help with getting the table name from the user input

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use