TileEditor t = TileEditor.this; System.out.println(t == null ? "TileEditor.this is null" : "TileEditor.this is good!"); XMLPreferences prefs = JHack.main.getPrefs(); System.out.println(JHack.main.getPrefs() == prefs ? "the same" : "different");
            public boolean isDrawGridLines()            {                return prefs                    .getValueAsBoolean("eb.TileEditor.tileSelector.gridLines");            }