Focusing of CDockable

13 views
Skip to first unread message

ifuri

unread,
Jun 3, 2011, 4:24:20 AM6/3/11
to JavaBuilders
Hi.

After making some CDockables visible and not minimized, I need the
last one to stay focused and to transfer the focus to its child
component, e.g. a JTextArea. For example, in a login dialogue user
should type the name immediately, not just after clicking on the
control.
How could I accomplish this?

BR

Jacek Furmankiewicz

unread,
Jun 3, 2011, 6:54:37 AM6/3/11
to javabu...@googlegroups.com
Hi, what is CDockable? Never heard of it. Is this some extension plugin?

I guess it would be like any other...on the "onFocus" method handler point to a method on the Java side
and in there manually via regular Swing API you could code such custom logic.

Jacek


--
You received this message because you are subscribed to the Google Groups "JavaBuilders" group.
To post to this group, send email to javabu...@googlegroups.com.
To unsubscribe from this group, send email to javabuilders...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javabuilders?hl=en.


ifuri

unread,
Jun 3, 2011, 8:27:24 AM6/3/11
to JavaBuilders
Oops, excuse my fault. I got wrong forum.
BR ifuri
Reply all
Reply to author
Forward
0 new messages