Back to project page LotR_Risk.
The source code is released under:
GNU General Public License
If you think the Android project LotR_Risk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package swingGUI; /*from w w w . j av a 2s .com*/ import java.awt.Color; import java.awt.GridLayout; import java.util.ArrayList; import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JLabel; import javax.swing.JPanel; import objects.Territoire; public class InfoTerritoire extends Box{ private ArrayList<Territoire> listeTerritoire; public InfoTerritoire(ArrayList<Territoire> listeTerritoire) { super(BoxLayout.PAGE_AXIS); this.listeTerritoire = listeTerritoire; for (Territoire territoire : listeTerritoire) { JLabel nomJoueurJLabel = new JLabel(" " + territoire.getNom()); this.add(nomJoueurJLabel); } } }