> hello all, may i know how can i have a JTextField component, where it
> is able to display the JList drop down from time to time just like the
[quoted text clipped - 8 lines]
>
> cheok
What you want is a JComboBox.

Signature
Knute Johnson
email s/nospam/knute/
yancheng.cheok@gmail.com - 28 Apr 2007 06:41 GMT
Nope. I do not watnt a combo box. I do not want to have the arrow at
the right side.
On Apr 28, 4:26 am, Knute Johnson <nos...@rabbitbrush.frazmtn.com>
wrote:
> yancheng.ch...@gmail.com wrote:
> > hello all, may i know how can i have a JTextField component, where it
[quoted text clipped - 16 lines]
> Knute Johnson
> email s/nospam/knute/
Knute Johnson - 28 Apr 2007 07:25 GMT
Well then write your own component.
k...
> Nope. I do not watnt a combo box. I do not want to have the arrow at
> the right side.
[quoted text clipped - 16 lines]
>> Knute Johnson
>> email s/nospam/knute/

Signature
Knute Johnson
email s/nospam/knute/
Knitter - 28 Apr 2007 10:57 GMT
You either write your own componet from scratch or extend one that
already exist. You could, like Knute Johnson said, use the JComboBox
componet and extend it so that it does not show the arrow. Just remove
what you don't want and keep what you need.
yancheng.cheok@gmail.com - 28 Apr 2007 18:20 GMT
Can you give me some hints on how to remove the arrow?
Eric Sosman - 30 Apr 2007 15:45 GMT
yancheng.cheok@gmail.com wrote On 04/28/07 13:20,:
> Can you give me some hints on how to remove the arrow?
Use a JComboBox with a customized renderer and/or
editor, as described in the "Java Tutorial."

Signature
Eric.Sosman@sun.com