ArrayList « JLabel « Java Swing Q&A





1. ArrayList content to JLabel    stackoverflow.com

If i have an ArrayList of type Integer, containing numbers like 1,3,4,9,10 etc... How can i display those on a JLabel, not the sum, but all the numbers in a sequence. So ...

2. AirPlane Seating Program (Need help with Jlabels and ArrayLists)    forums.oracle.com

You arrange labels with a LayoutManager, typically. Which one you choose depends on the application. Though, honestly, if I were doing an airplane seating application, which (from what I've seen in the real world) usually have a precise graphic representation of the plane in a horizontal cross-section, I'd probably use sprites on a single canvas component rather than lots of individual ...