1
Hello folks I need a help I am learning to program now, I am developing a password system for waiting queue type JAVA database database.
Password Normal; Password Priority;
Call in Password Reclaim Password
Display (Form for Password)
Follow my class Password
package Modelo;
public class Senha {
private int senha;
private Boolean chamada;
private DateTime inicioAtendimento;
private Boolean prioritaria;
public int getSenha() {
return senha;
}
public void setSenha(int senha) {
this.senha = senha;
}
public Boolean getChamada() {
return chamada;
}
public void setChamada(Boolean chamada) {
this.chamada = chamada;
}
public DateTime getInicioAtendimento() {
return inicioAtendimento;
}
public void setInicioAtendimento(DateTime inicioAtendimento) {
this.inicioAtendimento = inicioAtendimento;
}
public Boolean getPrioritaria() {
return prioritaria;
}
public void setPrioritaria(Boolean prioritaria) {
this.prioritaria = prioritaria;
}
}
Class Generate Password
My Button Call Password
private void btChamarActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
senha novo = new senha();
novo.GeraSenha();
label1.Text = "Atendimento Prioritário";
label2.Text =" Senha: " +novo.GeraSenha();
}
My doubt is whether I am walking well and what are the classes I should use for this purpose
I’d appreciate the help I’m doing this project for University.
What is your doubt?
– Bruno Brito
Possible duplicate of Bank Queue Management System
– rubStackOverflow
I also think, @rubStackOverflow. But I voted to close the other one, because this was the first one opened by AP.
– Luiz Vieira