Thread.sleep(timeout);
} catch (InterruptedException e)
{
- Console.debug(
+ Console.trace(
"Dialog timeout interrupted. Probably a button pressed.");
}
jb.doClick();
for (int i = 0; i < options.length; i++)
{
Object o = options[i];
- jalview.bin.Console.debug(
+ jalview.bin.Console.trace(
"Setting button " + i + " to '" + o.toString() + "'");
JButton jb = buttons[i];
Object obj = e.getSource();
if (obj == null || !(obj instanceof Component))
{
- jalview.bin.Console.debug(
+ jalview.bin.Console.warn(
"Could not find Component source of event object "
+ obj);
return;
if (joptionpaneObject == null
|| !(joptionpaneObject instanceof JOptionPane))
{
- jalview.bin.Console.debug(
+ jalview.bin.Console.warn(
"Could not find JOptionPane ancestor of event object "
+ obj);
return;
&& options.length < 3))
{
jalview.bin.Console
- .debug("JvOptionPane: not enough options for dialog type");
+ .warn("JvOptionPane: not enough options for dialog type");
}
optionsButtons = new JButton[options.length];
for (int i = 0; i < options.length && i < 3; i++)
{
buttons[i] = new JButton();
buttons[i].setText(buttonsText[i]);
- Console.debug("DISABLING BUTTON " + buttons[i].getText());
+ Console.trace("DISABLING BUTTON " + buttons[i].getText());
buttons[i].setEnabled(false);
buttons[i].setVisible(false);
}
return executor.awaitTermination(timeout, TimeUnit.MILLISECONDS);
} catch (InterruptedException e)
{
- Console.debug("Action was interrupted", e);
+ Console.trace("Action was interrupted", e);
}
}
return true;