How do I access an object I've instantiated in my main method from another method?
<p>I'm sure I'm missing something silly, here is my code:</p>

<pre><code>public class clearBlankGrid {

    public static void main(String args[]) {

        Monster myMonster = new Monster(10,10,5,5,1);
        MonsterGUI myGUI = new MonsterGUI(myMonster);

        if (myMonster.getRows() &gt; 0) {   
            // 0 = North, 1 = East, 2 = South, 3 = West
            myMonster.setFacing(3);
            myMonster.setIcon();
        }

    }

    public static void keepClearing() {

        myMonster.isGridCleared(); // Cannot find symbol 'myMonster'

    }

}
</code></pre>
