\r
import javax.swing.JOptionPane;\r
\r
+import org.tianocore.frameworkwizard.FrameworkWizardUI;\r
+\r
/**\r
The class is used to provides static interfaces to save log and error information\r
\r
private static void showWrnMessage(String strErr) {\r
String strReturn = Tools.wrapStringByWord(strErr);\r
JOptionPane\r
- .showConfirmDialog(null, strReturn, "Warning", JOptionPane.DEFAULT_OPTION, JOptionPane.ERROR_MESSAGE);\r
+ .showConfirmDialog(FrameworkWizardUI.getInstance(), strReturn, "Warning", JOptionPane.DEFAULT_OPTION, JOptionPane.ERROR_MESSAGE);\r
}\r
\r
/**\r