drambuieの日記

drambuie, life is a dram to be satisfied with

外部クラスのthis(outer class this)

メイン処理で new Runnable()の中でMainクラスを参照する仕方を知らなくて、わざわざクラスのメンバに

    private Main referThis = this;

と書いてしまったが、Main.this って書けば良かったみたい。後で直そう。