Package org.fundacaonokia.biblioteca.model

Examples of org.fundacaonokia.biblioteca.model.Genero


        this.lstGenerosModel = new DefaultListModel<Genero>();
        this.lstGeneros = new JList<Genero>(this.lstGenerosModel);
        this.pnlConteudo.add(this.lstGeneros, "cell 0 9 2 1, growx, w 300::300, h 200::200");
       
        this.lstGenDispModel = new DefaultListModel<Genero>();
        this.lstGenDispModel.addElement(new Genero(0, "Ficção"));
        this.lstGenDispModel.addElement(new Genero(1, "Juvenil"));
        this.lstGenDispModel.addElement(new Genero(2, "Auto-Ajuda"));
        this.lstGenDisponiveis = new JList<Genero>(this.lstGenDispModel);
        this.pnlConteudo.add(this.lstGenDisponiveis, "cell 2 9 2 1, growx, w 300::300, h 200::200");
       
        this.btnAddGenero = new JButton("<< Adicionar");
        this.pnlConteudo.add(this.btnAddGenero, "cell 2 10 2 1, al center, w 200::200");
View Full Code Here

TOP

Related Classes of org.fundacaonokia.biblioteca.model.Genero

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.