@@ -229,6 +229,9 @@ public class JSDialog extends Window {
229229 public JSDialog (JSFrame owner ) {
230230 this (owner , "" , false );
231231 }
232+ public JSDialog (Frame owner ) {
233+ this (owner , "" , false );
234+ }
232235
233236 /**
234237 * Constructs an initially invisible <code>Dialog</code> with the specified
@@ -256,6 +259,10 @@ public JSDialog(JSFrame owner, boolean modal) {
256259 this (owner , "" , modal );
257260 }
258261
262+ public JSDialog (Frame owner , boolean modal ) {
263+ this (owner , "" , modal );
264+ }
265+
259266 /**
260267 * Constructs an initially invisible, modeless <code>Dialog</code> with
261268 * the specified owner <code>Frame</code> and title.
@@ -277,6 +284,10 @@ public JSDialog(JSFrame owner, String title) {
277284 this (owner , title , false );
278285 }
279286
287+ public JSDialog (Frame owner , String title ) {
288+ this (owner , title , false );
289+ }
290+
280291 /**
281292 * Constructs an initially invisible <code>Dialog</code> with the
282293 * specified owner <code>Frame</code>, title and modality.
@@ -307,6 +318,10 @@ public JSDialog(JSFrame owner, String title, boolean modal) {
307318 this (owner , title , modal ? Dialog .DEFAULT_MODALITY_TYPE : Dialog .ModalityType .MODELESS );
308319 }
309320
321+ public JSDialog (Frame owner , String title , boolean modal ) {
322+ this (owner , title , modal ? Dialog .DEFAULT_MODALITY_TYPE : Dialog .ModalityType .MODELESS );
323+ }
324+
310325 /**
311326 * Constructs an initially invisible <code>Dialog</code> with the specified owner
312327 * <code>Frame</code>, title, modality, and <code>GraphicsConfiguration</code>.
@@ -341,6 +356,11 @@ public JSDialog(JSFrame owner, String title, boolean modal,
341356 this (owner , title , modal ? Dialog .DEFAULT_MODALITY_TYPE : Dialog .ModalityType .MODELESS , gc );
342357 }
343358
359+ public JSDialog (Frame owner , String title , boolean modal ,
360+ GraphicsConfiguration gc ) {
361+ this (owner , title , modal ? Dialog .DEFAULT_MODALITY_TYPE : Dialog .ModalityType .MODELESS , gc );
362+ }
363+
344364 /**
345365 * Constructs an initially invisible, modeless <code>Dialog</code> with
346366 * the specified owner <code>Dialog</code> and an empty title.
@@ -358,6 +378,10 @@ public JSDialog(JSDialog owner) {
358378 this (owner , "" , false );
359379 }
360380
381+ public JSDialog (Dialog owner ) {
382+ this (owner , "" , false );
383+ }
384+
361385 /**
362386 * Constructs an initially invisible, modeless <code>Dialog</code>
363387 * with the specified owner <code>Dialog</code> and title.
@@ -378,6 +402,10 @@ public JSDialog(JSDialog owner, String title) {
378402 this (owner , title , false );
379403 }
380404
405+ public JSDialog (Dialog owner , String title ) {
406+ this (owner , title , false );
407+ }
408+
381409 /**
382410 * Constructs an initially invisible <code>Dialog</code> with the
383411 * specified owner <code>Dialog</code>, title, and modality.
@@ -408,6 +436,10 @@ public JSDialog(JSDialog owner, String title, boolean modal) {
408436 this (owner , title , modal ? Dialog .DEFAULT_MODALITY_TYPE : Dialog .ModalityType .MODELESS );
409437 }
410438
439+ public JSDialog (Dialog owner , String title , boolean modal ) {
440+ this (owner , title , modal ? Dialog .DEFAULT_MODALITY_TYPE : Dialog .ModalityType .MODELESS );
441+ }
442+
411443 /**
412444 * Constructs an initially invisible <code>Dialog</code> with the
413445 * specified owner <code>Dialog</code>, title, modality and
@@ -445,6 +477,10 @@ public JSDialog(JSDialog owner, String title, boolean modal,
445477 this (owner , title , modal ? Dialog .DEFAULT_MODALITY_TYPE : Dialog .ModalityType .MODELESS , gc );
446478 }
447479
480+ public JSDialog (Dialog owner , String title , boolean modal , GraphicsConfiguration gc ) {
481+ this (owner , title , modal ? Dialog .DEFAULT_MODALITY_TYPE : Dialog .ModalityType .MODELESS , gc );
482+ }
483+
448484 /**
449485 * Constructs an initially invisible, modeless <code>Dialog</code> with the
450486 * specified owner <code>Window</code> and an empty title.
0 commit comments