[program-java] Java: Swing Button

  • From: "Corbett, James" <James.Corbett@xxxxxxxxxxxxx>
  • To: "'program-java@xxxxxxxxxxxxx'" <program-java@xxxxxxxxxxxxx>
  • Date: Wed, 11 May 2011 14:19:03 -0400

Hi:

I have a button:

testButton = new JButton("Test");
                testButton.setActionCommand(TEST);
                testButton.addActionListener(this);

...but I can't seem to click it by just hitting enter on it. I have to route 
Jaws to PC and then use a left clik to evoke it? Any ideas?

PS. The access Bridge is indeed installed and all of my other controls appear 
to behave?

Jim
James M. Corbett

Programmer / Analyst |
Canada Revenue Agency | Agence du revenue du Canada
875 Heron Rd.
Ottawa, On.
K1A0L5

James.Corbett@xxxxxxxxxxxxx
Telephone | Téléphone: (613) 941-1338
Facsimile | Télécopieur: (613) 941-2261

Government of Canada | Gouvernement du Canada


"Due to the highly confidential nature of my job, I'm not allowed to know what 
I'm doing."


Other related posts: