Modification d'un des boutons
This commit is contained in:
parent
e09fa1dd7c
commit
db31061aaf
12
Makefile
12
Makefile
@ -14,15 +14,15 @@ JVMFLAGS =
|
|||||||
${OUTDIR}/GridMaker.class : ${SRCDIR}/GridMaker.java ${OUTDIR}/Window.class ${OUTDIR}/HomeView.class
|
${OUTDIR}/GridMaker.class : ${SRCDIR}/GridMaker.java ${OUTDIR}/Window.class ${OUTDIR}/HomeView.class
|
||||||
${JC} ${JCFLAGS} ${SRCDIR}/GridMaker.java -d $(OUTDIR)
|
${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
|
${OUTDIR}/Window.class : ${SRCDIR}/Window.java
|
||||||
${JC} ${JCFLAGS} ${SRCDIR}/Window.java -d $(OUTDIR)
|
${JC} ${JCFLAGS} ${SRCDIR}/Window.java -d $(OUTDIR)
|
||||||
|
|
||||||
${OUTDIR}/Title.class : ${SRCDIR}/Title.java
|
${OUTDIR}/Title.class : ${SRCDIR}/Title.java
|
||||||
${JC} ${JCFLAGS} ${SRCDIR}/Title.java -d $(OUTDIR)
|
${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
|
${OUTDIR}/Button.class : ${SRCDIR}/Button.java
|
||||||
${JC} ${JCFLAGS} ${SRCDIR}/Button.java -d $(OUTDIR)
|
${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
|
${OUTDIR}/GSImport.class : ${SRCDIR}/GSImport.java ${OUTDIR}/Window.class
|
||||||
${JC} ${JCFLAGS} ${SRCDIR}/GSImport.java -d $(OUTDIR)
|
${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)
|
${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
|
${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
|
${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)
|
${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)
|
${JC} ${JCFLAGS} ${SRCDIR}/MusicPlayer.java -d $(OUTDIR)
|
||||||
|
|
||||||
${OUTDIR}/MusicButton.class : ${SRCDIR}/MusicButton.java ${OUTDIR}/MusicPlayer.class
|
${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)
|
${JC} ${JCFLAGS} ${SRCDIR}/RulesSudoku.java -d $(OUTDIR)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### REGLES OPTIONNELLES ###
|
### REGLES OPTIONNELLES ###
|
||||||
|
|
||||||
GridMaker : $(OFILES)
|
GridMaker : $(OFILES)
|
||||||
${JVM} ${JVMFLAGS} -cp $(OUTDIR) GridMaker
|
${JVM} ${JVMFLAGS} -cp $(OUTDIR) GridMaker
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ public class GridMaker {
|
|||||||
*/
|
*/
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
Window fenetre = new Window(); // Création d'une fenêtre
|
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);
|
HomeView gmHomeView = new HomeView(fenetre, "Sudoku Grid Creator", "Par Moncef & Marco", gmButtonTexts);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@ import java.awt.event.ActionListener;
|
|||||||
GSMenu menuJeu = new GSMenu(this.window);
|
GSMenu menuJeu = new GSMenu(this.window);
|
||||||
GSMenuController menuController = new GSMenuController(menuJeu, this.window);
|
GSMenuController menuController = new GSMenuController(menuJeu, this.window);
|
||||||
break;
|
break;
|
||||||
case "Générer une grille":
|
case "Créer une grille":
|
||||||
Window.removeAllComponents(this.window);
|
Window.removeAllComponents(this.window);
|
||||||
GMUserInterfaceView vueCreationGrille = new GMUserInterfaceView(this.window);
|
GMUserInterfaceView vueCreationGrille = new GMUserInterfaceView(this.window);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user