
Signature
Andrei Kouznetsov
http://uio.dev.java.net Unified I/O for Java
http://reader.imagero.com Java image reader
> > > > Everytime I update the plot in axes window, the focus on the edit UI
> > control
[quoted text clipped - 14 lines]
> I
> > want ?
> Component#requestFocus();
Tried, no use....
requestFocus() refused my request and I did not get back my focus... this is
weired....
Paul Lutus - 22 Aug 2004 20:14 GMT
/ ...
> Tried, no use....
> requestFocus() refused my request and I did not get back my focus... this
> is weired....
To get assistance, you need to post a small, complete, compilable code
example that shows the problem.

Signature
Paul Lutus
http://www.arachnoid.com
ak - 23 Aug 2004 00:39 GMT
> > Component#requestFocus();
>
> Tried, no use....
> requestFocus() refused my request and I did not get back my focus... this is
> weired....
this is simple - your request was not refused, the problem is that _after_
your request
focus gone because of some processing.
Try this form:
SwingUtilities.invokeLater(new Runnable() {
myComponent.requestFocus();
});

Signature
Andrei Kouznetsov
http://uio.dev.java.net Unified I/O for Java
http://reader.imagero.com Java image reader