From 3522c83baad4a36c838f324562326bcc45797d94 Mon Sep 17 00:00:00 2001 From: ericnerdo Date: Fri, 13 May 2016 15:32:32 +0200 Subject: [PATCH] ApplicationFrame now calls gamepanel.DrawVisuals(). Meow. :3 --- cicaprojekt/ApplicationFrame.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cicaprojekt/ApplicationFrame.java b/cicaprojekt/ApplicationFrame.java index cd4ded6..7858ff3 100644 --- a/cicaprojekt/ApplicationFrame.java +++ b/cicaprojekt/ApplicationFrame.java @@ -24,9 +24,11 @@ public class ApplicationFrame implements Runnable File dungeonSource = ((JList) e.getComponent()).getSelectedValue(); try { setGameParams(dungeonSource); + gamepanel.drawVisuals(); } catch (IOException e1) { JOptionPane.showMessageDialog(null, "Nem sikerült cicát nyitni! :("); } + jframe.add(gamepanel); jframe.revalidate(); }