Redian新闻
>
Textfield auto tab-traversal
avatar
Textfield auto tab-traversal# Java - 爪哇娇娃
t*e
1
Some time you see in application that when you input cdkey, IP address etc.
it allows focus to automatically jump to next text field when you filled the
previous text field up, so the user can input information without
interruption. I wonder how you implement this in java.
avatar
j*n
2
one possible way is to monitor property changing event

.
the

【在 t***e 的大作中提到】
: Some time you see in application that when you input cdkey, IP address etc.
: it allows focus to automatically jump to next text field when you filled the
: previous text field up, so the user can input information without
: interruption. I wonder how you implement this in java.

avatar
m*t
3

.
the
The implementation can vary depending on what GUI technology you use. But
basically it boils down to subscribing to the field changed event, and move
the focus to the next one if the current one is filled up.

【在 t***e 的大作中提到】
: Some time you see in application that when you input cdkey, IP address etc.
: it allows focus to automatically jump to next text field when you filled the
: previous text field up, so the user can input information without
: interruption. I wonder how you implement this in java.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。