refactor: use SwingUtilities.getRoot(...) to get JDialog
refactor: use SwingUtilities.getRoot(...) to get JDialog

aterai/java-swing-tips,aterai/java-swing-tips,aterai/java-swing-tips,aterai/java-swing-tips