• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with jcombobox

 
david dabush
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey you all,
i have combobox with big list and when i drag the list back and forth the list get messed up.
what i have to do in order to avoid this?
 
Greg Brannon
Bartender
Posts: 563
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what you mean by "drag the list back and forth."

Can you show code and provide a better description of the problem?
 
Rob Spoor
Sheriff
Posts: 20817
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And with "code", Greg means an SSCCE (<= click for more info).
 
david dabush
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i is not spaciel code just panel with combobox
and when i choose an option from the combo list and after open it again and drag the list up and down the list become messed up.
a photo is attached to this message.
Untitled.png
[Thumbnail for Untitled.png]
 
david dabush
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
to be more aqcurate the steps are:
1.click on the arrow button of the combobox
2.while pressing on the side of the list (you know move the list up and down ) without realising the mouse the list became what you see in the pic

if you could tell how i get the arrow button of the jcombobox it will be very helpful because i could add to it a listener and refresh maybe the window.

the core of the problem is that jcombox is composed of other components like the arrow button.
 
Darryl Burke
Bartender
Posts: 5152
11
Java Netbeans IDE Opera
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You know, if you had posted an SSCCE like you were asked, this problem would likely be resolved by now.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!