You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
public abstract class GameBox extends JFrame { // Cette JFrame sera la fenêtre principale contenant tous les élèments comme la grille contenant les cases
JPanel score = new JPanel(); // On initialise le socre ici
public GameBox(){
Image icon = Toolkit.getDefaultToolkit().getImage("Textures/IconGame.png"); // Icon de l'app
this.setIconImage(icon);
try {
this.setContentPane(new JLabel(new ImageIcon(ImageIO.read(new File("Textures/BackgroundINGAME.jpg"))))); //Background de la frame
}
catch (Exception e){
System.out.println("L'IMAGE BackgroundINGAME.jpg n'est pas dispo veuillez vérifier le dossier Textures");