JAVA-JPopupMenu shouldn´t select item

From: Ulf Kirsten (google_at_partheeus.de)
Date: 01/28/05

  • Next message: Giò: "About CheckListBox"
    Date: 28 Jan 2005 03:57:35 -0800
    
    

    Hi groups.

    When i clicked on my JButton a JPopupMenu will open and this select the first
    JMenuItem automatically. (Sorry for my english)
    I want that the first Selection is null. Has any one an idea???
    this don´t work:

    JPopupMenu pop = .....
    pop.setSelected(null);

    and:

    pop.setSelected(-1);

    I´ve no idea to resolve this problem.
    Thanks for help!!!

    Ulf


  • Next message: Giò: "About CheckListBox"