FileDialog (String title, int load) { // This is bad. But sometimes we do not have any windows at all. // On the other hand, it is a bit strange to show a file dialog without an owner // Therefore we should minimize usage of this case. return new FileDialog((Frame)null, title, load); }