@@ -0,0 +1,486 @@
+/**%0A * @file 2016/12/13%0A */%0Apackage quiz.view;%0A%0Aimport javax.swing.JOptionPane;%0A%0A/**%0A * %E3%82%A8%E3%83%A9%E3%83%BC%E3%83%80%E3%82%A4%E3%82%A2%E3%83%AD%E3%82%B0%E3%82%92%E7%94%9F%E6%88%90%E3%81%99%E3%82%8B%0A *%0A * @author Yuka Yoshikawa%0A *%0A */%0Apublic class ErrorDialog extends JOptionPane %7B%0A%0A%09/**%0A%09 * %E3%82%A8%E3%83%A9%E3%83%BC%E3%83%80%E3%82%A4%E3%82%A2%E3%83%AD%E3%82%B0%E3%82%92%E7%94%9F%E6%88%90%E3%81%99%E3%82%8B%E3%83%A1%E3%82%BD%E3%83%83%E3%83%89%0A%09 *%0A%09 * @param errorMessage%0A%09 *            String%E5%9E%8B %E3%82%A8%E3%83%A9%E3%83%BC%E5%86%85%E5%AE%B9%E3%81%AE%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8%0A%09 */%0A%0A%09static public void showErrorDialog(String errorMessage) %7B%0A%09%09Object%5B%5D selectvalue = %7B %22%E9%96%89%E3%81%98%E3%82%8B%22 %7D;%0A%09%09showOptionDialog(null, errorMessage, %22%E3%82%A8%E3%83%A9%E3%83%BC%E7%99%BA%E7%94%9F%22, YES_NO_OPTION, ERROR_MESSAGE, null, selectvalue, null);%0A%09%7D%0A%0A%7D

Create Error Dialog class