JAVA-JPopupMenu shouldn´t select item
From: Ulf Kirsten (google_at_partheeus.de)
Date: 01/28/05
- Previous message: Nigel Wade: "Re: GUI freezes after I change contentPane in an ActionListener"
- Next in thread: John McGrath: "Re: JAVA-JPopupMenu shouldn´t select item"
- Reply: John McGrath: "Re: JAVA-JPopupMenu shouldn´t select item"
- Reply: Larry Barowski: "Re: JAVA-JPopupMenu shouldn´t select item"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Nigel Wade: "Re: GUI freezes after I change contentPane in an ActionListener"
- Next in thread: John McGrath: "Re: JAVA-JPopupMenu shouldn´t select item"
- Reply: John McGrath: "Re: JAVA-JPopupMenu shouldn´t select item"
- Reply: Larry Barowski: "Re: JAVA-JPopupMenu shouldn´t select item"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]