Re: Problem with JCombo box
- From: "Bart Cremers" <bcremers@xxxxxxxxx>
- Date: 19 Jul 2006 01:22:35 -0700
srinivas.veeranki@xxxxxxxxx schreef:
Hi All,< code snipped >
Here i am getting the problem with JCombobox. Here i am taking 2 combo
boxes. each of them has 11 elements. They have set the initiall
selected items. If I select the first combo then i am setting
setSelectedIndex(0) for 2nd combo. In this , the scrollbar is not
moving to first element or blank element. From the next time onwords,
the scroll bar also moving to the first element. I need to put the
scroll bar at first element when ever i selected the combo box which is
set to first element or null element. Please help me regaurding
this....
Thanks in advance... Here i am giving the code which i tried....
Thanks & Regards
Srinivas
As far a I can see, I'm not getting the problem you're having. The
second combo always selects and scrolls to the first element when the
first combo changes.
Regards,
Bart
.
- Follow-Ups:
- Re: Problem with JCombo box
- From: srinivas . veeranki
- Re: Problem with JCombo box
- References:
- Problem with JCombo box
- From: srinivas . veeranki
- Problem with JCombo box
- Prev by Date: Re: Regaurding JOptionPane.showMessageDialog()
- Next by Date: Re: Problem with JCombo box
- Previous by thread: Problem with JCombo box
- Next by thread: Re: Problem with JCombo box
- Index(es):
Relevant Pages
|