please include function showControls2. static void hideControls2() { swing { removeFromConsole2(showControls2_controls); showControls2_controls = null; } }