gui : experimenting nifty via Java method