Skip to content

Commit

Permalink
commit final da v1.0.0 beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Pchenrique committed Nov 5, 2019
1 parent 5ebd85f commit c098182
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions build/built-jar.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Tue, 05 Nov 2019 14:58:16 -0200
#Tue, 05 Nov 2019 17:04:41 -0200


C\:\\Users\\Samuel\ Lima\\Documents\\NetBeansProjects\\Qchave=
C\:\\Users\\Paulo\ Cesar\\Documents\\NetBeansProjects\\Qchave=
Binary file modified build/classes/DAO/AdminDao.class
Binary file not shown.
Binary file modified build/classes/DAO/DevolucaoDao.class
Binary file not shown.
Binary file modified build/classes/DAO/EmprestarDAO.class
Binary file not shown.
Binary file modified build/classes/DAO/KeyDao.class
Binary file not shown.
Binary file modified build/classes/DAO/KeyPermissionDao.class
Binary file not shown.
Binary file modified build/classes/DAO/ReservaDao.class
Binary file not shown.
Binary file modified build/classes/DAO/UserDAO.class
Binary file not shown.
Binary file modified build/classes/controller/HomeController.class
Binary file not shown.
4 changes: 3 additions & 1 deletion nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ file.reference.mysql-connector-java-8.0.17.jar-3=C:\\Users\\Paulo Cesar\\Downloa
file.reference.mysql-connector-java-8.0.17.jar-4=C:\\Users\\Paulo Cesar\\Downloads\\mysql-connector-java-8.0.17\\mysql-connector-java-8.0.17.jar
file.reference.mysql-connector-java-8.0.17.jar-5=C:\\Users\\Paulo Cesar\\Downloads\\mysql-connector-java-8.0.17\\mysql-connector-java-8.0.17.jar
file.reference.mysql-connector-java-8.0.17.jar-6=C:\\Users\\Paulo Cesar\\Downloads\\mysql-connector-java-8.0.17\\mysql-connector-java-8.0.17.jar
file.reference.mysql-connector-java-8.0.17.jar-7=C:\\Users\\Paulo Cesar\\Downloads\\mysql-connector-java-8.0.17\\mysql-connector-java-8.0.17.jar
includes=**
# Non-JavaFX jar file creation is deactivated in JavaFX 2.0+ projects
jar.archive.disabled=true
Expand All @@ -48,7 +49,8 @@ javac.classpath=\
${file.reference.mysql-connector-java-8.0.17.jar-3}:\
${file.reference.mysql-connector-java-8.0.17.jar-4}:\
${file.reference.mysql-connector-java-8.0.17.jar-5}:\
${file.reference.mysql-connector-java-8.0.17.jar-6}
${file.reference.mysql-connector-java-8.0.17.jar-6}:\
${file.reference.mysql-connector-java-8.0.17.jar-7}
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
Expand Down
11 changes: 5 additions & 6 deletions src/Controller/HomeController.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.stage.Stage;
import javax.swing.JOptionPane;

/**
* FXML Controller class
Expand Down Expand Up @@ -166,15 +167,13 @@ public void initialize(URL url, ResourceBundle rb) {
this.info_devolucoes.setText(valor_devolucoes);

} catch (SQLException ex) {
Alert alerta = new Alert(Alert.AlertType.WARNING);
alerta.setHeaderText("O banco não está conectado.");
alerta.show();
JOptionPane.showMessageDialog(null, "Erro no banco!");
Home.getStage().close();
Logger.getLogger(HomeController.class.getName()).log(Level.SEVERE, null, ex);
}
}catch(Exception e){
Alert alerta = new Alert(Alert.AlertType.WARNING);
alerta.setHeaderText("O banco não está conectado.");
alerta.show();
JOptionPane.showMessageDialog(null, "Erro no banco!");
Home.getStage().close();
Logger.getLogger(HomeController.class.getName()).log(Level.SEVERE, null, e);
}
}
Expand Down

0 comments on commit c098182

Please sign in to comment.