This commit is contained in:
pablo rodriguez 2023-04-23 16:12:19 +02:00
parent 518f19f584
commit 9b7bf85f68
12 changed files with 13 additions and 28 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -34,7 +34,7 @@ public class commandes {
public static node nodeCSV = null;
//** Version
public static String version ="V4.4.6"; // La version actuelle
public static String version ="V4.4.7"; // La version actuelle
public static String branch = "Origin";
public static String Annee ="2023";

View File

@ -25,6 +25,7 @@ import MEPTL.commandes;
import action.actOpenBaseEvaluation;
import baseEvaluations.chargeEvaluationSelected;
import baseEvaluations.myTableBaseEvaluation;
import net.miginfocom.swing.MigLayout;
public class chargeBaseAuDemarrage extends JFrame {
@ -40,6 +41,7 @@ public class chargeBaseAuDemarrage extends JFrame {
private final JButton btnCheminVersBaseDonnees = new JButton("<html>Travailler avec une autre base<br>d'évaluation</html>");
private final JPanel panelGauche = new JPanel();
private final JPanel panelDroite = new JPanel();
private final JLabel label = new JLabel(commandes.PathBaseEvaluations);
public chargeBaseAuDemarrage() {
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
@ -63,19 +65,17 @@ public chargeBaseAuDemarrage() {
//Add the scroll pane to this panel.
getContentPane().add(scrollPane,BorderLayout.CENTER);
panelBas.setLayout(new MigLayout("", "[394px][394px][]", "[53px]"));
//*Le bas de la fenêtre contenant les boutons
panelBas.setLayout(new FlowLayout(FlowLayout.RIGHT, 10, 10));
btnCheminVersBaseDonnees.setForeground(new Color(0, 128, 192));
btnCheminVersBaseDonnees.setFont(new Font("Tahoma", Font.BOLD, 16));
btnCheminVersBaseDonnees.setIcon(new ImageIcon(chargeBaseAuDemarrage.class.getResource("/resources/sauvegardehistoriqueevaluation.png")));
btnCheminVersBaseDonnees.setSelectedIcon(new ImageIcon(chargeBaseAuDemarrage.class.getResource("/resources/sauvegardehistoriqueevaluation.png")));
panelBas.add(btnCheminVersBaseDonnees);
panelBas.add(label, "flowy,cell 0 0,grow");
getContentPane().add(panelBas, BorderLayout.SOUTH);
btnCheminVersBaseDonnees.setForeground(new Color(0, 128, 192));
btnCheminVersBaseDonnees.setFont(new Font("Tahoma", Font.BOLD, 16));
btnCheminVersBaseDonnees.setIcon(new ImageIcon(chargeBaseAuDemarrage.class.getResource("/resources/sauvegardehistoriqueevaluation.png")));
btnCheminVersBaseDonnees.setSelectedIcon(new ImageIcon(chargeBaseAuDemarrage.class.getResource("/resources/sauvegardehistoriqueevaluation.png")));
panelBas.add(btnCheminVersBaseDonnees, "cell 2 0,alignx right,growy");
lblInformationBaseEvluation.setIcon(new ImageIcon(chargeBaseAuDemarrage.class.getResource("/resources/accueilChargeEvaluation.png")));
//*Le haut
@ -179,10 +179,12 @@ private void ListenerAction() {
*/
btnCheminVersBaseDonnees.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
new ChargePathBaseEvaluation(true);
new ChargePathBaseEvaluation(false);
new actOpenBaseEvaluation();
label.setText(commandes.PathBaseEvaluations);
model.addOrUpdate();
table = new JTable(model);
revalidate();
}
});

View File

@ -404,15 +404,6 @@ public final class create extends JFrame {
btnChargeEvaluation.setHideActionText(true);
toolBarPrincipal.add(btnChargeEvaluation);
// JButton btnSaveEvluation = toolBarPrincipal.add( new actSaveHistoriqueEvaluation() );
// btnSaveEvluation.addActionListener(new ActionListener() {
// public void actionPerformed(ActionEvent e) {
// }
// });
// btnSaveEvluation.setIcon(new ImageIcon(create.class.getResource("/resources/sauvegardehistoriqueevaluation.png")));
// btnSaveEvluation.setHideActionText(true);
// toolBarPrincipal.add(btnSaveEvluation);
toolBarPrincipal.addSeparator();
JButton btnSaveEvaluation = toolBarPrincipal.add( new actSaveEvaluation() );
@ -499,14 +490,6 @@ public final class create extends JFrame {
btnTotalPointNode.setHideActionText(true);
toolBarPrincipal.add(btnTotalPointNode);
// toolBarPrincipal.addSeparator();
// tglbtnTousLesNodes = new JToggleButton("");
// tglbtnTousLesNodes.setAction(new actTousLesNodesEvaluer());
// tglbtnTousLesNodes.setIcon(new ImageIcon(create.class.getResource("/resources/lesnodesevaluer.png")));
// toolBarPrincipal.add(tglbtnTousLesNodes);
toolBarPrincipal.addSeparator();
JButton btnAbout = toolBarPrincipal.add( new actAbout() );