0

I wondering a bit why JButton does not shows "pressed" state after mouse press if I simulate it with Robot. The MouseEvents JButton receiving are exactly same, but outcome is different. Does Anyone know why?

luator
  • 4,769
  • 3
  • 30
  • 51
andronix
  • 124
  • 9

1 Answers1

0

The Problem was (as usual) that I used EDT. Just put it in another thread and it worked.

andronix
  • 124
  • 9