Closed GoogleCodeExporter closed 9 years ago
Correction: You CAN'T click or focus on Button object...
Original comment by ilmars.p...@gmail.com
on 2 Jan 2014 at 1:28
If you add the button to the panel before adding the panel to the window, it
will work. When you add the empty panel to the window, it's looking for
something to set focus on, but since the panel is empty, there is nothing. Then
when you add the button to the panel, the window doesn't know about it so you
either need to call setFocus(..) or add another component to make it scan again.
I've added some code to deal with this on 2.1.x-branch, now it will detect a
window doesn't have anything in focus and scan the components.
Original comment by mab...@gmail.com
on 16 Feb 2014 at 7:27
Original issue reported on code.google.com by
ilmars.p...@gmail.com
on 27 Dec 2013 at 5:29Attachments: