X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FPromptUserConfig.java;h=cfe9da4c6a307504030ab54d6ddd4fa92dcdd76e;hb=f6a7e5514230be7ea8c2d4cccb504b4ed95f80ef;hp=fae7783189c67956306181e85a814b9924214c3a;hpb=a45774ee31d9f35d4eff46d54d7deab719afb092;p=jalview.git diff --git a/src/jalview/gui/PromptUserConfig.java b/src/jalview/gui/PromptUserConfig.java index fae7783..cfe9da4 100644 --- a/src/jalview/gui/PromptUserConfig.java +++ b/src/jalview/gui/PromptUserConfig.java @@ -1,13 +1,13 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7) - * Copyright (C) 2011 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8) + * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle * * This file is part of Jalview. * * Jalview is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - * + * * Jalview is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR @@ -200,14 +200,15 @@ public class PromptUserConfig implements Runnable } try { - int reply = JOptionPane.showInternalConfirmDialog( + int reply = JOptionPane.showConfirmDialog( Desktop.desktop, // component, dialogText, dialogTitle, (allowCancel) ? JOptionPane.YES_NO_CANCEL_OPTION : JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); - // now, ask the desktop to relayer any external windows that might have been obsured - if (Desktop.instance!=null) + // now, ask the desktop to relayer any external windows that might have + // been obsured + if (Desktop.instance != null) { Desktop.instance.relayerWindows(); }