Ajout du Makefile
This commit is contained in:
@@ -118,6 +118,6 @@ public class HomeView extends JPanel {
|
||||
@Override
|
||||
public void paintComponent(Graphics g) {
|
||||
super.paintComponent(g);
|
||||
g.drawImage(new ImageIcon("background.jpg").getImage(), 0, 0, getWidth(), getHeight(), null);
|
||||
g.drawImage(new ImageIcon("./src/background.jpg").getImage(), 0, 0, getWidth(), getHeight(), null);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user