Disabled button gains focus when requestFocus() method is called.This bug is only in button( both heavy weight and light weight),it is not producible in other components.
Operating Systems:Windows and Solaris
To Reproduce --> Run the sample code with the awtsqe.jar set in the classpath. - Type any key while the program is runnning.
- You would notice that the key events are triggered on the disabled button( The keys are printed at the terminal).
- This can be tested for AWT Button by uncommenting the Button declaration and commenting the LWButton declaration.