“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
public ComboBox(String items,
Constructs a new ComboBox with a list of items at the given x- and y-coordinates. The preferred width and height is internally computed by taking the contained items dimensions.
items - An array of text-items.
x - The x-coordinate of this ComboBox.
y - The y-coordinate of this ComboBox.
Taken directly from the site posted in my previous post. JavaDocs API.