Java gui add simulator