FormRun formrun; args args = new args(formstr(ваша форма)); ; formrun = new formRun(args); formrun.run(); formrun.wait();