s = new ImportDialog(); s.setFilename("sample-data/sin.dat"); s.setStart(10); s.setEnd(40); s.Apply();