*/
package jalview.gui;
-import jalview.datamodel.SequenceGroup;
-import jalview.gui.JalviewColourChooser.ColourChooserListener;
-import jalview.util.MessageManager;
-
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
+import jalview.datamodel.SequenceGroup;
+import jalview.gui.JalviewColourChooser.ColourChooserListener;
+import jalview.util.MessageManager;
+
public class TextColourChooser
{
AlignmentPanel ap;
restoreInitialSettings();
}
};
- JvOptionPane.newOptionDialog(alignPanel).setResponseHandler(1, action)
- .showInternalDialog(bigpanel, title,
- JvOptionPane.YES_NO_CANCEL_OPTION,
+ JvOptionPane.newOptionDialog(alignPanel.alignFrame)
+ .setResponseHandler(1, action).showInternalDialog(bigpanel,
+ title, JvOptionPane.YES_NO_CANCEL_OPTION,
JvOptionPane.PLAIN_MESSAGE, null, options,
MessageManager.getString("action.ok"));
}