From 401abac38079fcfec9a915908a9c0af6a641ae9f Mon Sep 17 00:00:00 2001 From: Lyanis Souidi Date: Fri, 28 Apr 2023 18:18:03 +0200 Subject: [PATCH] =?UTF-8?q?D=C3=A9placement=20de=20fichier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- {src => resources/img}/background.jpg | Bin src/HomeView.java | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {src => resources/img}/background.jpg (100%) diff --git a/src/background.jpg b/resources/img/background.jpg similarity index 100% rename from src/background.jpg rename to resources/img/background.jpg diff --git a/src/HomeView.java b/src/HomeView.java index 3bb352c..3b34799 100644 --- a/src/HomeView.java +++ b/src/HomeView.java @@ -120,6 +120,6 @@ public class HomeView extends JPanel { @Override public void paintComponent(Graphics g) { super.paintComponent(g); - g.drawImage(new ImageIcon("./src/background.jpg").getImage(), 0, 0, getWidth(), getHeight(), null); + g.drawImage(new ImageIcon("./resources/img/background.jpg").getImage(), 0, 0, getWidth(), getHeight(), null); } } \ No newline at end of file