Please copy what is printed out and paste it here.
--- Update ---
Also posted at: [Beginner] Populate JComboBox With ArrayList. - Java | Dream.In.Code
Please read:...
Type: Posts; User: Norm
Please copy what is printed out and paste it here.
--- Update ---
Also posted at: [Beginner] Populate JComboBox With ArrayList. - Java | Dream.In.Code
Please read:...
The code populates the JComboBox from the hotelArr array OK for me.
I've defined it like this for testing:
Object[] hotelArr = {"line 1", "line 2", "line 3"}; // getHotelInfo() };