Menu

#4 Problems with iterating through widgets using Up and Down

open
Filip
Widget (8)
5
2012-04-09
2012-02-27
Gerrit Hohl
No

Hello everyone,

seems there are some problems if you use the Up and Down keys for iterating over the focusable widgets.
I have 6 buttons in a Panel which uses a GridLayoutManager(1, 6). The first button has the focus and I'm pressing the Down key a few times. The focus changes from button 1 to 2, from 2 to 3, from 3 to 5, from 5 to 6. If I start to press the Up key then I get the following behaviour: The focus changes from button 5 to 4, from 4 to 2, from 2 to 1.

That is a serious matter (at least for me) as I resolved all other problems and issues by writing hacks (wrote classes which extended the corresponding widget classes).

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.