Im using jcombobox in a simple database application . I want add the resultset of a particular query as element in jcombobox.

Im using netbeans and i found an option called binding but im confused how to use it!!

Please help.

Fill a Vector out of your ResultSet results
JComboBox has a constructor that receives a Vector as parameter

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.