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(); }