• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to do actionPreformed and ations on a dynamic Jmenu ?

 
Peter Juul Jensen
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Made this in VisualAge for Java 4.0
I have a StaevneContainer I create the JMenuItems from... the dynamic JMenu get created fine ..
but how do I Make actionPreformed (see code example under to see what I mean)


and event handling on these dynamic created JmenuItems


I have this anomy inner class to for actionListeners � but where DO I make the ones for the dynamic created JmenuItems .. L

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!