Classificação e pesquisa
/*
* To change this template, choose Tools | Templates * and open the template in the editor. */
package prova;
/** * * @author fpj.1001763838 */ public class Main extends Tela {
/** * @param args the command line arguments */ public static void main (String[] args) { // TODO code application logic here
DisciplinaGraduacao DiscGrad = new DisciplinaGraduacao(); DisciplinaPosGraduacao DiscPosGrad = new DisciplinaPosGraduacao(); Tela t1 = new Tela(); t1.setBounds(200, 200, 200, 200); }
}
//Disciplina
/*
* To change this template, choose Tools | Templates * and open the template in the editor. */ package prova;
/** * * @author fpj.1001763838 */ public class Disciplina {
private int codigo; private String descricao; private String area;
/** * @return the codigo */ public void Disciplina() { }
public void Disciplina(int codigo, String descricao, String area) { this.codigo = codigo; this.descricao = descricao; this.area = area; }
public int getCodigo() { return codigo; }
/** * @param codigo the codigo to set */ public void setCodigo(int codigo) { this.codigo = codigo; }
/** * @return the descricao */ public String getDescricao() { return descricao; }
/** * @param descricao the descricao to set */ public void setDescricao(String descricao) { this.descricao = descricao; }
/** * @return the area */ public String getArea() { return area; }
/** * @param area the area to set */ public void setArea(String area) { this.area = area; }
}
//Disciplina Graduação
/*
* To change this template, choose Tools | Templates * and open the template in the