Java gui add simulator dialog