MAJ V4.4.0 (l'arbre ne s'affiche plus au chargement)

This commit is contained in:
pablo rodriguez 2022-12-13 08:27:40 +01:00
parent 553e05af78
commit 81725202a6
21 changed files with 9 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -168,7 +168,12 @@ public final class create extends JFrame {
panelPrincipal.setLayout(new GridLayout(1, 1, 0, 0));
panelPrincipal.add(toolBarPrincipal);
if(commandes.fichierAnalyseValide) constructionTree();
if(commandes.fichierAnalyseValide) {
tree.setVisible(true);
constructionTree();
}else {
tree.setVisible(false);
}
this.setExtendedState(MAXIMIZED_BOTH);
@ -623,6 +628,7 @@ public final class create extends JFrame {
*/
private static void lectureFichierDejaCharger() {
if(commandes.fichierAnalyseValide) {
tree.setVisible(true);
fenetres.create.constructionTree();
fenetres.create.getTextNodeSelect().afficheChargementFichierAnalyse();
fenetres.create.getTglbtnTousLesNodes().setSelected(false);
@ -630,7 +636,6 @@ public final class create extends JFrame {
fenetres.create.getTextNodeSelect().afficheChargementFichierAnalyse();
}else {
fenetres.create.getTextNodeSelect().setContentType("text/plain");
}
}

View File

@ -106,6 +106,7 @@ public class actNewFichierAnalyse extends AbstractAction{
if(commandes.fichierAnalyseValide) {
commandes.sujetSauvegarde = commandes.sujet.clone();
fenetres.create.getTree().setVisible(true);
fenetres.create.constructionTree();
fenetres.create.getTextNodeSelect().afficheChargementFichierAnalyse();
}else {

View File

@ -30,6 +30,7 @@ public class actOpen extends AbstractAction{
public void actionPerformed(ActionEvent e) {
new filechooserXML();
if(commandes.fichierAnalyseValide) {
fenetres.create.getTree().setVisible(true);
fenetres.create.constructionTree();
fenetres.create.getTextNodeSelect().afficheChargementFichierAnalyse();
fenetres.create.getTglbtnTousLesNodes().setSelected(false);