O que pode ser mudado aí e como ficaria o SQL ?
public void numero_senha() throws SQLException {
try {
Conexao_Banco con = new Conexao_Banco();
Connection cn = con.CriarConexao();
String sqlSelect = "SQL";
PreparedStatement stm = null;
ResultSet rs = null;
stm = cn.prepareStatement(sqlSelect);
rs = stm.executeQuery();
while(rs.next()) {
stm.setString(2, "numero_senha");
}
System.out.println(this.senha);
}catch(Exception ee){
JOptionPane.showMessageDialog(null,ee.getMessage());
}
}