Hi,

i have a JComboBox in a small java program.
if i see the properties of the JComboBox i can see

SelectedIndex = -1
SelectedItem = null

But i can't the name of each item and i have 5 items normally.
Where can i see them in the properties?

Thank you

Recommended Answers

All 3 Replies

Where can i see them in the properties?

Are you asking how to use an IDE to debug your code?

If you are asking about a problem with your code, please post the code and ask you questions about it.

Yes it's in NetBeans 7.1
I don't know where to add item for combo box
Thank you

Is this a java coding problem?
Have you read the API doc for the class you are working with to see what methods it has that will do what you want?

Can you post the code you are having problems with?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.