Rmove redundant code and add a JavaFX test case.
Merge branch 'master' of https://github.com/graniteds/graniteds