Alguém sabe me dizer porque está repetindo dados nesse ComboBox?
this.CadperfilLinha.removeAllItems();
this.CadperfilProjeto.removeAllItems();
try {
Class.forName(driver);
Connection con = DriverManager.getConnection(url, user, pass);
Statement Sent = con.createStatement();
ResultSet rs = Sent.executeQuery("Select * from Linha, Projeto");
while (rs.next()) {
this.CadperfilLinha.addItem(rs.getString("LINHA"));
this.CadperfilProjeto.addItem(rs.getString("PROJETO"));
}
} catch (Exception e) {
JOptionPane.showMessageDialog(null, e);
}