Modification d'un des boutons

This commit is contained in:
Moncef STITI 2024-05-03 08:58:05 +02:00
parent e09fa1dd7c
commit db31061aaf
3 changed files with 11 additions and 11 deletions

View File

@ -14,15 +14,15 @@ JVMFLAGS =
${OUTDIR}/GridMaker.class : ${SRCDIR}/GridMaker.java ${OUTDIR}/Window.class ${OUTDIR}/HomeView.class
${JC} ${JCFLAGS} ${SRCDIR}/GridMaker.java -d $(OUTDIR)
${OUTDIR}/GridSolver.class : ${SRCDIR}/GridSolver.java ${OUTDIR}/Window.class ${OUTDIR}/HomeView.class
${JC} ${JCFLAGS} ${SRCDIR}/GridSolver.java -d $(OUTDIR)
${OUTDIR}/Window.class : ${SRCDIR}/Window.java
${JC} ${JCFLAGS} ${SRCDIR}/Window.java -d $(OUTDIR)
${OUTDIR}/Title.class : ${SRCDIR}/Title.java
${JC} ${JCFLAGS} ${SRCDIR}/Title.java -d $(OUTDIR)
${OUTDIR}/GridSolver.class : ${SRCDIR}/GridSolver.java ${OUTDIR}/Window.class ${OUTDIR}/HomeView.class
${JC} ${JCFLAGS} ${SRCDIR}/GridSolver.java -d $(OUTDIR)
${OUTDIR}/Button.class : ${SRCDIR}/Button.java
${JC} ${JCFLAGS} ${SRCDIR}/Button.java -d $(OUTDIR)
@ -89,7 +89,7 @@ ${OUTDIR}/GSGrid.class : ${SRCDIR}/GSGrid.java ${OUTDIR}/GSCase.class ${OUTDIR}/
${OUTDIR}/GSImport.class : ${SRCDIR}/GSImport.java ${OUTDIR}/Window.class
${JC} ${JCFLAGS} ${SRCDIR}/GSImport.java -d $(OUTDIR)
${OUTDIR}/GSMenu.class : ${SRCDIR}/GSMenu.java ${OUTDIR}/Title.class ${OUTDIR}/Window.class ${OUTDIR}/Button.class
${OUTDIR}/GSMenu.class : ${SRCDIR}/GSMenu.java ${OUTDIR}/Title.class ${OUTDIR}/Button.class ${OUTDIR}/Window.class
${JC} ${JCFLAGS} ${SRCDIR}/GSMenu.java -d $(OUTDIR)
${OUTDIR}/GSMenuController.class : ${SRCDIR}/GSMenuController.java ${OUTDIR}/GSMenu.class ${OUTDIR}/Window.class ${OUTDIR}/GSGrid.class ${OUTDIR}/GSMenu.class ${OUTDIR}/GSImport.class ${OUTDIR}/GSPlay.class ${OUTDIR}/GSPlayController.class ${OUTDIR}/GSSolver.class
@ -116,7 +116,7 @@ ${OUTDIR}/HomeButtonClickListener.class : ${SRCDIR}/HomeButtonClickListener.java
${OUTDIR}/HomeView.class : ${SRCDIR}/HomeView.java ${OUTDIR}/MusicButton.class ${OUTDIR}/Window.class ${OUTDIR}/Title.class ${OUTDIR}/HomeButtonClickListener.class ${OUTDIR}/Button.class
${JC} ${JCFLAGS} ${SRCDIR}/HomeView.java -d $(OUTDIR)
${OUTDIR}/MusicPlayer.class : ${SRCDIR}/MusicPlayer.java ${SRCDIR}/MusicPlayer.java
${OUTDIR}/MusicPlayer.class : ${SRCDIR}/MusicPlayer.java
${JC} ${JCFLAGS} ${SRCDIR}/MusicPlayer.java -d $(OUTDIR)
${OUTDIR}/MusicButton.class : ${SRCDIR}/MusicButton.java ${OUTDIR}/MusicPlayer.class
@ -129,8 +129,8 @@ ${OUTDIR}/RulesSudoku.class : ${SRCDIR}/RulesSudoku.java ${OUTDIR}/Title.class
${JC} ${JCFLAGS} ${SRCDIR}/RulesSudoku.java -d $(OUTDIR)
### REGLES OPTIONNELLES ###
GridMaker : $(OFILES)
${JVM} ${JVMFLAGS} -cp $(OUTDIR) GridMaker

View File

@ -18,7 +18,7 @@ public class GridMaker {
*/
public static void main(String[] args) {
Window fenetre = new Window(); // Création d'une fenêtre
String[] gmButtonTexts = {"Générer une grille", "Règles", "Quitter"}; // Texte des boutons pour le menu du GridMaker
String[] gmButtonTexts = {"Créer une grille", "Règles", "Quitter"}; // Texte des boutons pour le menu du GridMaker
HomeView gmHomeView = new HomeView(fenetre, "Sudoku Grid Creator", "Par Moncef & Marco", gmButtonTexts);
}
}

View File

@ -35,7 +35,7 @@ import java.awt.event.ActionListener;
GSMenu menuJeu = new GSMenu(this.window);
GSMenuController menuController = new GSMenuController(menuJeu, this.window);
break;
case "Générer une grille":
case "Créer une grille":
Window.removeAllComponents(this.window);
GMUserInterfaceView vueCreationGrille = new GMUserInterfaceView(this.window);
break;