Buggy code:
public class GameWindow { private static final int WINDOW_SIZE_X = 456 ; private static final int WINDOW_SIZE_Y = 651 ; private static String VERSION = "A<seq2seq4repair_space>Maze<seq2seq4repair_space>Quest<seq2seq4repair_space>" + ( ( ( ( "\n" + "Version:" ) + "<seq2seq4repair_space>Alpha<seq2seq4repair_space>13.37" ) + "\n" ) + "©<seq2seq4repair_space>Jonas<seq2seq4repair_space>Brothers" ) ; private static GameFrame gameFrame ; public static void main ( String [ ] args ) { } public static GameFrame createWindow ( ) { } public static void createMenuBar ( JFrame mainwindow ) { } public static void createButtons ( final JFrame mainwindow ) { JButton playButton ; JButton settingsButton ; JButton helpButton ; JButton backButton ; final JPanel startmenuPanel = new StartmenuPanel ( ) ; mainwindow . add ( startmenuPanel , BorderLayout . CENTER ) ; playButton = ( ( StartmenuPanel ) ( startmenuPanel ) ) . getPlayButton ( ) ; settingsButton = ( ( StartmenuPanel ) ( startmenuPanel ) ) . getSettingsButton ( ) ; helpButton = ( ( StartmenuPanel ) ( startmenuPanel ) ) . getHelpButton ( ) ; backButton = ( ( StartmenuPanel ) ( startmenuPanel ) ) . getBackButton ( ) ; backButton . setVisible ( false ) ; playButton . addActionListener ( new ActionListener ( ) { public void actionPerformed ( ActionEvent e ) { startmenuPanel . setVisible ( false ) ; mainwindow . setSize ( GameWindow . WINDOW_SIZE_X , GameWindow . WINDOW_SIZE_Y ) ; mainwindow . setResizable ( true ) ; mainwindow . setVisible ( true ) ; <START_BUG> ( ( GameFrame ) ( mainwindow ) ) . showInventoryPanel ( ) ; <END_BUG> Map map = new Map ( ) ; new Thread ( new GameEngine ( map , mainwindow ) ) . start ( ) ; } } ) ; helpButton . addActionListener ( new ActionListener ( ) { public void actionPerformed ( ActionEvent e ) { playButton . setVisible ( false ) ; settingsButton . setVisible ( false ) ; helpButton . setVisible ( false ) ; String helpInfo = "\t" + ( ( ( "<seq2seq4repair_space>" + "Welcome<seq2seq4repair_space>to<seq2seq4repair_space>A<seq2seq4repair_space>Maze<seq2seq4repair_space>Quest" ) + "\n" ) + "kill<seq2seq4repair_space>all<seq2seq4repair_space>enemies" ) ; JTextArea helpText = new JTextArea ( ) ; helpText . setEditable ( false ) ; helpText . setText ( helpInfo ) ; mainwindow . add ( helpText , BorderLayout . NORTH ) ; backButton . setVisible ( true ) ; backButton . addActionListener ( new ActionListener ( ) { public void actionPerformed ( ActionEvent e ) { playButton . setVisible ( true ) ; settingsButton . setVisible ( true ) ; helpButton . setVisible ( true ) ; backButton . setVisible ( false ) ; helpText . setVisible ( false ) ; } } ) ; } } ) ; settingsButton . addActionListener ( new ActionListener ( ) { public void actionPerformed ( ActionEvent e ) { playButton . setVisible ( false ) ; settingsButton . setVisible ( false ) ; helpButton . setVisible ( false ) ; backButton . setVisible ( true ) ; backButton . addActionListener ( new ActionListener ( ) { public void actionPerformed ( ActionEvent e ) { playButton . setVisible ( true ) ; settingsButton . setVisible ( true ) ; helpButton . setVisible ( true ) ; backButton . setVisible ( false ) ; } } ) ; } } ) ; } public static void setGameFalse ( ) { } }

Fix:
( ( GameFrame ) ( mainwindow ) ) . showStatusPanel ( ) ;