Porting application to Java SE -- WIP