/[svn]/jsampler/trunk/src/org/jsampler/HF.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/HF.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1203 by iliev, Mon Apr 2 21:18:31 2007 UTC revision 1204 by iliev, Thu May 24 21:43:45 2007 UTC
# Line 158  public class HF { Line 158  public class HF {
158                  String msg = getErrorMessage(e);                  String msg = getErrorMessage(e);
159                                    
160                  CC.getLogger().log(Level.INFO, msg, e);                  CC.getLogger().log(Level.INFO, msg, e);
161                                            
162                  JOptionPane.showMessageDialog (                  JOptionPane.showMessageDialog (
163                          dlg, msg,                          dlg, msg,
164                          i18n.getError("error"),                          i18n.getError("error"),
# Line 170  public class HF { Line 170  public class HF {
170           * Brings up a question dialog with Yes, No options, empty title and the specified message.           * Brings up a question dialog with Yes, No options, empty title and the specified message.
171           * @param parent The parent <code>Component</code> for the dialog.           * @param parent The parent <code>Component</code> for the dialog.
172           * @param message The message to display.           * @param message The message to display.
173             * @return <code>true</code> if the user chooses "yes", <code>false</code> otherwise.
174           */           */
175          public static boolean          public static boolean
176          showYesNoDialog(Component parent, String message) {          showYesNoDialog(Component parent, String message) {
# Line 181  public class HF { Line 182  public class HF {
182           * @param parent The parent <code>Component</code> for the dialog.           * @param parent The parent <code>Component</code> for the dialog.
183           * @param message The message to display.           * @param message The message to display.
184           * @param title The dialog's title.           * @param title The dialog's title.
185             * @return <code>true</code> if the user chooses "yes", <code>false</code> otherwise.
186           */           */
187          public static boolean          public static boolean
188          showYesNoDialog(Component parent, String message, String title) {          showYesNoDialog(Component parent, String message, String title) {

Legend:
Removed from v.1203  
changed lines
  Added in v.1204

  ViewVC Help
Powered by ViewVC