Thread
:
Help with jComboBox
View Single Post
#
2
(
permalink
)
07-02-2007, 01:03 AM
Albert
Senior Member
Join Date: Jun 2007
Posts: 114
A String Is a Object
What happens when you cast the result to a String?
Code:
... String selection = (String)jComboBox.getSelectedItem(); ...
Greetings.
Albert
Albert
View Public Profile
Send a private message to Albert
Find all posts by Albert