|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
1. Create a Frame with setFocusableWindowState(false) and make it visible.
2. Create a Window with a button and make it visible.
Expected result: Button inside the Window should have the focus
it should trigger focus gained event.
Actual resulst: Button inside the Window is not having the focus
and it is not triggering focus gained event
- the focus is not gained even though "isFocusableWindow" returns true for Window
- click on the button in Window still focus is not gained by the button.
- it happens both in Windows as well as in Solaris.
- This defect is there since 1.5.0 but there is a difference in 1.5.0 clicking on button in windows gains the focus and fires the event but this is broken in jdk 1.6.0 between b10 and b25.
Note: This happens only if the parent frame is setFocusableWindowState(false) same thing works fine for a dialog
|