3940414243444546474849
if (title != null) { dialog.setTitle(title); } setContent(dialog, content); SwingUtil.centerComponent(frame, dialog); dialog.showDialog(); return dialog; } /** * Sets the content panel of the supplied internal dialog.