✅ Mise à jour du gitignore pour exclure le dossier "bin/"
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
package com.charpentierbalocchi.dorfjavatik.main;
|
||||
|
||||
import com.charpentierbalocchi.dorfjavatik.view.FenetreDemarrage;
|
||||
|
||||
public class DorfJavaTik {
|
||||
public static void main(String[] args) {
|
||||
// Lancer la fenêtre de démarrage
|
||||
javax.swing.SwingUtilities.invokeLater(new Runnable() {
|
||||
public void run() {
|
||||
new FenetreDemarrage();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
@@ -13,7 +13,7 @@ public class AffichageTuile extends JPanel {
|
||||
|
||||
public AffichageTuile(Tuile tuile) {
|
||||
this.tuile = tuile;
|
||||
setPreferredSize(new Dimension(100, 100)); // Taille préférée du panel pour afficher la tuile
|
||||
setPreferredSize(new Dimension(125, 125)); // Taille préférée du panel pour afficher la tuile
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@@ -38,7 +38,7 @@ public class FenetreDemarrage extends JFrame {
|
||||
try {
|
||||
int taille = Integer.parseInt(textField.getText());
|
||||
if (taille == 1) {
|
||||
String gifPath = "src/com/charpentierbalocchi/dorfjavatik/resources/image.gif";
|
||||
String gifPath = "/com/charpentierbalocchi/dorfjavatik/resources/image.gif";
|
||||
|
||||
ImageIcon gifIcon = new ImageIcon(gifPath);
|
||||
|
||||
|
Reference in New Issue
Block a user