Object « JComboBox « Java Swing Q&A





1. Newbie question: how to access a created JComboBox instance from another method in the same class or else    stackoverflow.com

If I have:

Class A {
    // bunch of stuff here

    public void intitialize() {
    // bunch of stuff here

  ...

2. JComboBox with Objects    coderanch.com

Hi, gurus, I have a JComboBox where I want to show the name of a person but use the employeeId to do updates, deletes. I have mostly used AWT components before where I show a String and use the index of that String to find out what id it belongs to. Now I want to try to add an object to ...

3. Objects and jCombobox    java-forums.org

I am trying to create a class that populates a combobox with an object for instance country with fields like (name, city, area, population etc). I want the user to use a data entry form to enter the details but ones they have been saved, he can load details of different countries using the combo box navigation. My problem is that ...