simple jfx example with binding on resources