...
> Note: I am using Java 1.2 (it's a Visual Cafe tools limitation) so
> although I know that the Robot class might be useful in this case it is
> not available to me.
All thought of looking further into the
problem ceased when I read that.
Toss Visual Cafe, install the latest JDK, develop
from the command line. Then the problems will
probably vanish, and if they don't, you will at
least you will be able to consult with developers
that do not have to think back to ..whenever the
heck they last used java 1.2
HTH
--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site
Andrew Thompson - 12 Dec 2003 16:15 GMT
> ...
> > Note: I am using Java 1.2 (it's a Visual Cafe tools limitation) so
[quoted text clipped - 3 lines]
> All thought of looking further into the
> problem ceased when I read that.
<snip rant>
OK. So maybe I am railing at a separate
thread I am having about Eclipse hassles
on c.l.j.p.
And, sorry, no - I have no _good_ ideas
that might solve your immediate dilemma..
[ N.B. I would still recommend dropping
an IDE that is no longer supported, though. ]
--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site
JComboBox jcb = ...
JTextField field = (JTextField)jcb.getEditor().getEditorComponent();
field.selectAll();
or
field.setSelectionStart(start);
field.setSelectionEnd(end);
--
____________
http://reader.imagero.com the best java image reader.
> When I open my editable JComboBox I want the text for the displayed item
> to be selected in the sense that any typing would replace the text. In
[quoted text clipped - 13 lines]
>
> Roger