Search:

Type: Posts; User: GregBrannon

Search: Search took 0.10 seconds.

  1. Replies
    18
    Views
    1,449

    Re: adding ActionListeners dynamically

    I'm disappointed and discouraged that you don't know the answer to that question. On the other hand, it's an indication that you need to write 40+ more programs that use ActionListeners from...
  2. Replies
    18
    Views
    1,449

    Re: adding ActionListeners dynamically

    Have you tried anything yet? It seems you're making it too hard, and I don't agree that, "adding the actionListeners in the while iterator when adding every item means the code inside each action...
  3. Replies
    18
    Views
    1,449

    Re: adding ActionListeners dynamically

    My thoughts for adding ActionListeners but not tried in this context: Either pair each menu item with an anonymous inner class ActionListener as you proposed earlier, or create an umbrella...
  4. Replies
    18
    Views
    1,449

    Re: adding ActionListeners dynamically

    First, I suggest you suggest disable the menu items you don't want the current user to have access to. But if that's not good enough . . .

    Write a class that builds a menu or a number of menus in...
  5. Replies
    18
    Views
    1,449

    Re: adding ActionListeners dynamically

    No idea what you're asking. What does, "add ActionListeners dynamically" mean? What does "build a Jmenu with its options dynamically" mean? Can you give examples of what you're trying to do? Show...
Results 1 to 5 of 5