//# 0 errors, 348 messages
//#
/*
    //#ColourPickerDialog.java:1:1: class: com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1
    //#ColourPickerDialog.java:1:1: method: com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1.com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1__static_init
    //#ColourPickerDialog.java:1:1: class: com.dmdirc.addons.ui_swing.components.ColourPickerDialog
    //#ColourPickerDialog.java:1:1: method: com.dmdirc.addons.ui_swing.components.ColourPickerDialog.com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init
 * Copyright (c) 2006-2009 Chris Smith, Shane Mc Cormack, Gregory Holmes
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

package com.dmdirc.addons.ui_swing.components;

import com.dmdirc.addons.ui_swing.SwingController;

import java.awt.Window;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

import javax.swing.JDialog;

/**
 * Colour picker dialog.
 */
public final class ColourPickerDialog extends StandardDialog {

    /**
     * A version number for this class. It should be changed whenever the class
     * structure is changed (or anything else that would prevent serialized
     * objects being unserialized with the new class).
     */
    private static final long serialVersionUID = 1;
    /** Colour chooser panel. */
    private ColourPickerPanel colourChooser;
    /** Parent window. */
    private Window window;

    /**
     * Creates a new instance of ColourPickerDialog.
     * 
     * @since 0.6   
     */
    public ColourPickerDialog() {
        this(true, true);
    //#ColourPickerDialog.java:56: method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog.com.dmdirc.addons.ui_swing.components.ColourPickerDialog()
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): java.awt.Dialog$ModalityType.MODELESS
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): this
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ArrayList(ColourPickerPanel#1) num objects
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ColourPickerPanel(ColourPickerDialog#1) num objects
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ColourPickerPanel(ColourPickerDialog#1).__Tag
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ColourPickerPanel(ColourPickerDialog#1).listeners
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ColourPickerPanel(ColourPickerDialog#1).saturation
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ColourPickerPanel(ColourPickerDialog#1).showHex
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ColourPickerPanel(ColourPickerDialog#1).showIrc
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): this.colourChooser
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): this.window
    //#new obj(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ArrayList(ColourPickerPanel#1)
    //#new obj(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ColourPickerPanel(ColourPickerDialog#1)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): this.colourChooser == &new ColourPickerPanel(ColourPickerDialog#1)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): this.window == null
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ArrayList(ColourPickerPanel#1) num objects == 1
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ColourPickerPanel(ColourPickerDialog#1) num objects == 1
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ColourPickerPanel(ColourPickerDialog#1).showHex == 1
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ColourPickerPanel(ColourPickerDialog#1).showIrc == 1
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ColourPickerPanel(ColourPickerDialog#1).__Tag == com/dmdirc/addons/ui_swing/components/ColourPickerPanel
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ColourPickerPanel(ColourPickerDialog#1).listeners == &new ArrayList(ColourPickerPanel#1)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): new ColourPickerPanel(ColourPickerDialog#1).saturation == 1
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:java.awt.event.WindowAdapter
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:java.awt.Window:addWindowListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.StandardDialog:setIconImages
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:javax.swing.JDialog
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:java.awt.Window:getIconImages
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:javax.swing.JPanel
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:java.util.ArrayList
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:java.awt.Dimension
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:setPreferredSize
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseMotionListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseWheelListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setDefaultCloseOperation
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:add
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:pack
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setResizable
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setFocusableWindowState
    }
    //#ColourPickerDialog.java:57: end of method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog.com.dmdirc.addons.ui_swing.components.ColourPickerDialog()

    /**
     * Creates a new instance of ColourPickerDialog.
     * 
     * @param window Parent window
     * 
     * @since 0.6
     */
    public ColourPickerDialog(final Window window) {
        this(true, true, window);
    //#ColourPickerDialog.java:67: method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog.com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): java.awt.Dialog$ModalityType.MODELESS
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): this
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): window
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ArrayList(ColourPickerPanel#1) num objects
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ColourPickerPanel(ColourPickerDialog#1) num objects
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ColourPickerPanel(ColourPickerDialog#1).__Tag
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ColourPickerPanel(ColourPickerDialog#1).listeners
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ColourPickerPanel(ColourPickerDialog#1).saturation
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ColourPickerPanel(ColourPickerDialog#1).showHex
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ColourPickerPanel(ColourPickerDialog#1).showIrc
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): this.colourChooser
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): this.window
    //#new obj(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ArrayList(ColourPickerPanel#1)
    //#new obj(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ColourPickerPanel(ColourPickerDialog#1)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): this.colourChooser == &new ColourPickerPanel(ColourPickerDialog#1)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): this.window == window
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): init'ed(this.window)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ArrayList(ColourPickerPanel#1) num objects == 1
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ColourPickerPanel(ColourPickerDialog#1) num objects == 1
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ColourPickerPanel(ColourPickerDialog#1).showHex == 1
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ColourPickerPanel(ColourPickerDialog#1).showIrc == 1
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ColourPickerPanel(ColourPickerDialog#1).__Tag == com/dmdirc/addons/ui_swing/components/ColourPickerPanel
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ColourPickerPanel(ColourPickerDialog#1).listeners == &new ArrayList(ColourPickerPanel#1)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): new ColourPickerPanel(ColourPickerDialog#1).saturation == 1
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:java.awt.event.WindowAdapter
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:java.awt.Window:addWindowListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.StandardDialog:setIconImages
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:javax.swing.JDialog
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:java.awt.Window:getIconImages
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:javax.swing.JPanel
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:java.util.ArrayList
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:java.awt.Dimension
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:setPreferredSize
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseMotionListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseWheelListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setDefaultCloseOperation
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:add
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:pack
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setResizable
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setFocusableWindowState
    }
    //#ColourPickerDialog.java:68: end of method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog.com.dmdirc.addons.ui_swing.components.ColourPickerDialog(Window)

    /**
     * Creates a new instance of ColourPickerDialog.
     * 
     * @param showIRC show irc colours
     * @param showHex show hex colours
     */
    public ColourPickerDialog(final boolean showIRC, final boolean showHex) {
        this(showIRC, showHex, null);
    //#ColourPickerDialog.java:77: method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog.com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): java.awt.Dialog$ModalityType.MODELESS
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): showHex
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): showIRC
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): this
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ArrayList(ColourPickerPanel#1) num objects
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1) num objects
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).__Tag
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).listeners
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).saturation
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).showHex
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).showIrc
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): this.colourChooser
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): this.window
    //#new obj(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ArrayList(ColourPickerPanel#1)
    //#new obj(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): this.colourChooser == &new ColourPickerPanel(ColourPickerDialog#1)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): this.window == null
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ArrayList(ColourPickerPanel#1) num objects == 1
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1) num objects == 1
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).__Tag == com/dmdirc/addons/ui_swing/components/ColourPickerPanel
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).listeners == &new ArrayList(ColourPickerPanel#1)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).saturation == 1
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).showHex == showHex
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): init'ed(new ColourPickerPanel(ColourPickerDialog#1).showHex)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).showIrc == showIRC
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): init'ed(new ColourPickerPanel(ColourPickerDialog#1).showIrc)
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:java.awt.event.WindowAdapter
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:java.awt.Window:addWindowListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.StandardDialog:setIconImages
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:javax.swing.JDialog
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:java.awt.Window:getIconImages
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:javax.swing.JPanel
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:java.util.ArrayList
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:java.awt.Dimension
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:setPreferredSize
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseMotionListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseWheelListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setDefaultCloseOperation
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:add
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:pack
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setResizable
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setFocusableWindowState
    }
    //#ColourPickerDialog.java:78: end of method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog.com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool)

    /**
     * Creates a new instance of ColourPickerDialog.
     * 
     * @param showIRC show irc colours
     * @param showHex show hex colours
     * @param window Parent window
     * 
     * @since 0.6
     */
    public ColourPickerDialog(final boolean showIRC, final boolean showHex,
            final Window window) {
        super(window, ModalityType.MODELESS);
    //#ColourPickerDialog.java:91: method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog.com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): java.awt.Dialog$ModalityType.MODELESS
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): showHex
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): showIRC
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): this
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): window
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): new ArrayList(ColourPickerPanel#1) num objects
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): new ColourPickerPanel(ColourPickerDialog#1) num objects
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): this.colourChooser.__Tag
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): this.colourChooser.listeners
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): this.colourChooser.saturation
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): this.colourChooser.showHex
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): this.colourChooser.showIrc
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): this.colourChooser
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): this.window
    //#new obj(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): new ArrayList(ColourPickerPanel#1)
    //#new obj(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): new ColourPickerPanel(ColourPickerDialog#1)
    //#presumption(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): init'ed(java.awt.Dialog$ModalityType.MODELESS)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): this.colourChooser == &new ColourPickerPanel(ColourPickerDialog#1)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): this.window == window
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): init'ed(this.window)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): new ArrayList(ColourPickerPanel#1) num objects == 1
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): new ColourPickerPanel(ColourPickerDialog#1) num objects == 1
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): this.colourChooser.__Tag == com/dmdirc/addons/ui_swing/components/ColourPickerPanel
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): this.colourChooser.listeners == &new ArrayList(ColourPickerPanel#1)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): this.colourChooser.saturation == 1
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): this.colourChooser.showHex == showHex
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): init'ed(this.colourChooser.showHex)
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): this.colourChooser.showIrc == showIRC
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): init'ed(this.colourChooser.showIrc)
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): Effects-of-calling:java.awt.event.WindowAdapter
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): Effects-of-calling:java.awt.Window:addWindowListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.StandardDialog:setIconImages
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): Effects-of-calling:javax.swing.JDialog
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): Effects-of-calling:java.awt.Window:getIconImages
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): Effects-of-calling:javax.swing.JPanel
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): Effects-of-calling:java.util.ArrayList
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): Effects-of-calling:java.awt.Dimension
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:setPreferredSize
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseMotionListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseWheelListener

        colourChooser = new ColourPickerPanel(showIRC, showHex);

        setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
    //#ColourPickerDialog.java:95: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setDefaultCloseOperation(int)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ColourPickerDialog
    //#    method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setDefaultCloseOperation(int)
        add(colourChooser);
    //#ColourPickerDialog.java:96: Warning: method not available - call not analyzed
    //#    call on Component com.dmdirc.addons.ui_swing.components.ColourPickerDialog:add(Component)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ColourPickerDialog
    //#    method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)
    //#    unanalyzed callee: Component com.dmdirc.addons.ui_swing.components.ColourPickerDialog:add(Component)
        pack();
    //#ColourPickerDialog.java:97: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.ColourPickerDialog:pack()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ColourPickerDialog
    //#    method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog:pack()
        setResizable(false);
    //#ColourPickerDialog.java:98: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setResizable(bool)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ColourPickerDialog
    //#    method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setResizable(bool)
        setFocusableWindowState(false);
    //#ColourPickerDialog.java:99: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setFocusableWindowState(bool)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ColourPickerDialog
    //#    method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setFocusableWindowState(bool)

        setWindow(window);
    }
    //#ColourPickerDialog.java:102: end of method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog.com.dmdirc.addons.ui_swing.components.ColourPickerDialog(bool, bool, Window)

    /** 
     * Creates and shows a new Colour picker dialog. 
     * @return Colour picker dialog
     */
    public static ColourPickerDialog showColourPicker() {
        return showColourPicker(true, true);
    //#ColourPickerDialog.java:109: method: ColourPickerDialog com.dmdirc.addons.ui_swing.components.ColourPickerDialog.showColourPicker()
    //#input(ColourPickerDialog showColourPicker()): java.awt.Dialog$ModalityType.MODELESS
    //#output(ColourPickerDialog showColourPicker()): new ArrayList(ColourPickerPanel#1) num objects
    //#output(ColourPickerDialog showColourPicker()): new ColourPickerDialog(showColourPicker#1*) num objects
    //#output(ColourPickerDialog showColourPicker()): new ColourPickerDialog(showColourPicker#1*).__Tag
    //#output(ColourPickerDialog showColourPicker()): new ColourPickerDialog(showColourPicker#1*).colourChooser
    //#output(ColourPickerDialog showColourPicker()): new ColourPickerDialog(showColourPicker#1*).window
    //#output(ColourPickerDialog showColourPicker()): new ColourPickerPanel(ColourPickerDialog#1) num objects
    //#output(ColourPickerDialog showColourPicker()): new ColourPickerPanel(ColourPickerDialog#1).__Tag
    //#output(ColourPickerDialog showColourPicker()): new ColourPickerPanel(ColourPickerDialog#1).listeners
    //#output(ColourPickerDialog showColourPicker()): new ColourPickerPanel(ColourPickerDialog#1).saturation
    //#output(ColourPickerDialog showColourPicker()): new ColourPickerPanel(ColourPickerDialog#1).showHex
    //#output(ColourPickerDialog showColourPicker()): new ColourPickerPanel(ColourPickerDialog#1).showIrc
    //#output(ColourPickerDialog showColourPicker()): return_value
    //#new obj(ColourPickerDialog showColourPicker()): new ArrayList(ColourPickerPanel#1)
    //#new obj(ColourPickerDialog showColourPicker()): new ColourPickerDialog(showColourPicker#1*)
    //#new obj(ColourPickerDialog showColourPicker()): new ColourPickerPanel(ColourPickerDialog#1)
    //#post(ColourPickerDialog showColourPicker()): return_value == &new ColourPickerDialog(showColourPicker#1*)
    //#post(ColourPickerDialog showColourPicker()): new ArrayList(ColourPickerPanel#1) num objects == 1
    //#post(ColourPickerDialog showColourPicker()): new ColourPickerDialog(showColourPicker#1*) num objects == 1
    //#post(ColourPickerDialog showColourPicker()): new ColourPickerPanel(ColourPickerDialog#1) num objects == 1
    //#post(ColourPickerDialog showColourPicker()): new ColourPickerPanel(ColourPickerDialog#1).showHex == 1
    //#post(ColourPickerDialog showColourPicker()): new ColourPickerPanel(ColourPickerDialog#1).showIrc == 1
    //#post(ColourPickerDialog showColourPicker()): new ColourPickerDialog(showColourPicker#1*).__Tag == com/dmdirc/addons/ui_swing/components/ColourPickerDialog
    //#post(ColourPickerDialog showColourPicker()): new ColourPickerDialog(showColourPicker#1*).colourChooser == &new ColourPickerPanel(ColourPickerDialog#1)
    //#post(ColourPickerDialog showColourPicker()): init'ed(new ColourPickerDialog(showColourPicker#1*).window)
    //#post(ColourPickerDialog showColourPicker()): new ColourPickerPanel(ColourPickerDialog#1).__Tag == com/dmdirc/addons/ui_swing/components/ColourPickerPanel
    //#post(ColourPickerDialog showColourPicker()): new ColourPickerPanel(ColourPickerDialog#1).listeners == &new ArrayList(ColourPickerPanel#1)
    //#post(ColourPickerDialog showColourPicker()): new ColourPickerPanel(ColourPickerDialog#1).saturation == 1
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:java.awt.event.WindowAdapter
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:java.awt.Window:addWindowListener
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.StandardDialog:setIconImages
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:javax.swing.JDialog
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:java.awt.Window:getIconImages
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:javax.swing.JPanel
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:java.util.ArrayList
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:java.awt.Dimension
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:setPreferredSize
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseListener
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseMotionListener
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseWheelListener
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setDefaultCloseOperation
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:add
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:pack
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setResizable
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setFocusableWindowState
    //#unanalyzed(ColourPickerDialog showColourPicker()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setVisible
    //#ColourPickerDialog.java:109: end of method: ColourPickerDialog com.dmdirc.addons.ui_swing.components.ColourPickerDialog.showColourPicker()
    }

    /** 
     * Creates and shows a new Colour picker dialog. 
     * @return Colour picker dialog
     * @param showIRC show irc colours
     * @param showHex show hex colours
     */
    public static ColourPickerDialog showColourPicker(final boolean showIRC,
            final boolean showHex) {
        final ColourPickerDialog cpd = new ColourPickerDialog(showIRC, showHex);
    //#ColourPickerDialog.java:120: method: ColourPickerDialog com.dmdirc.addons.ui_swing.components.ColourPickerDialog.showColourPicker(bool, bool)
    //#input(ColourPickerDialog showColourPicker(bool, bool)): java.awt.Dialog$ModalityType.MODELESS
    //#input(ColourPickerDialog showColourPicker(bool, bool)): showHex
    //#input(ColourPickerDialog showColourPicker(bool, bool)): showIRC
    //#output(ColourPickerDialog showColourPicker(bool, bool)): new ArrayList(ColourPickerPanel#1) num objects
    //#output(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerDialog(showColourPicker#1) num objects
    //#output(ColourPickerDialog showColourPicker(bool, bool)): return_value.__Tag
    //#output(ColourPickerDialog showColourPicker(bool, bool)): return_value.colourChooser
    //#output(ColourPickerDialog showColourPicker(bool, bool)): return_value.window
    //#output(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1) num objects
    //#output(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).__Tag
    //#output(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).listeners
    //#output(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).saturation
    //#output(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).showHex
    //#output(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).showIrc
    //#output(ColourPickerDialog showColourPicker(bool, bool)): return_value
    //#new obj(ColourPickerDialog showColourPicker(bool, bool)): new ArrayList(ColourPickerPanel#1)
    //#new obj(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerDialog(showColourPicker#1)
    //#new obj(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1)
    //#post(ColourPickerDialog showColourPicker(bool, bool)): return_value == &new ColourPickerDialog(showColourPicker#1)
    //#post(ColourPickerDialog showColourPicker(bool, bool)): new ArrayList(ColourPickerPanel#1) num objects == 1
    //#post(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerDialog(showColourPicker#1) num objects == 1
    //#post(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1) num objects == 1
    //#post(ColourPickerDialog showColourPicker(bool, bool)): return_value.__Tag == com/dmdirc/addons/ui_swing/components/ColourPickerDialog
    //#post(ColourPickerDialog showColourPicker(bool, bool)): return_value.colourChooser == &new ColourPickerPanel(ColourPickerDialog#1)
    //#post(ColourPickerDialog showColourPicker(bool, bool)): init'ed(return_value.window)
    //#post(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).__Tag == com/dmdirc/addons/ui_swing/components/ColourPickerPanel
    //#post(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).listeners == &new ArrayList(ColourPickerPanel#1)
    //#post(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).saturation == 1
    //#post(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).showHex == showHex
    //#post(ColourPickerDialog showColourPicker(bool, bool)): init'ed(new ColourPickerPanel(ColourPickerDialog#1).showHex)
    //#post(ColourPickerDialog showColourPicker(bool, bool)): new ColourPickerPanel(ColourPickerDialog#1).showIrc == showIRC
    //#post(ColourPickerDialog showColourPicker(bool, bool)): init'ed(new ColourPickerPanel(ColourPickerDialog#1).showIrc)
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:java.awt.event.WindowAdapter
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:java.awt.Window:addWindowListener
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.StandardDialog:setIconImages
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:javax.swing.JDialog
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:java.awt.Window:getIconImages
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:javax.swing.JPanel
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:java.util.ArrayList
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:java.awt.Dimension
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:setPreferredSize
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseListener
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseMotionListener
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerPanel:addMouseWheelListener
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setDefaultCloseOperation
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:add
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:pack
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setResizable
    //#unanalyzed(ColourPickerDialog showColourPicker(bool, bool)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setFocusableWindowState
        cpd.setVisible(true);
    //#ColourPickerDialog.java:121: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setVisible(bool)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ColourPickerDialog
    //#    method: ColourPickerDialog showColourPicker(bool, bool)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog:setVisible(bool)
        return cpd;
    //#ColourPickerDialog.java:122: end of method: ColourPickerDialog com.dmdirc.addons.ui_swing.components.ColourPickerDialog.showColourPicker(bool, bool)
    }

    /** 
     * Adds an actions listener to this dialog.
     *
     * @param listener the listener to add
     */
    public void addActionListener(final ActionListener listener) {
        colourChooser.addActionListener(listener);
    //#ColourPickerDialog.java:131: method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog.addActionListener(ActionListener)
    //#input(void addActionListener(ActionListener)): listener
    //#input(void addActionListener(ActionListener)): this
    //#input(void addActionListener(ActionListener)): this.colourChooser
    //#input(void addActionListener(ActionListener)): this.colourChooser.listeners
    //#pre[3] (void addActionListener(ActionListener)): this.colourChooser != null
    //#pre[4] (void addActionListener(ActionListener)): this.colourChooser.listeners != null
    //#unanalyzed(void addActionListener(ActionListener)): Effects-of-calling:java.util.List:add
    }
    //#ColourPickerDialog.java:132: end of method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog.addActionListener(ActionListener)

    /**
     * Sets the Parent window.
     * 
     * @param window Parent window
     */
    public void setWindow(final Window window) {
        this.window = window;
    //#ColourPickerDialog.java:140: method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog.setWindow(Window)
    //#input(void setWindow(Window)): this
    //#input(void setWindow(Window)): window
    //#output(void setWindow(Window)): this.window
    //#post(void setWindow(Window)): this.window == window
    //#post(void setWindow(Window)): init'ed(this.window)
    //#unanalyzed(void setWindow(Window)): Effects-of-calling:java.awt.event.WindowAdapter
    //#test_vector(void setWindow(Window)): window: Addr_Set{null}, Inverse{null}

        if (window != null) {
            window.addWindowListener(new WindowAdapter() {
    //#ColourPickerDialog.java:143: method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1.com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1(ColourPickerDialog)
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1(ColourPickerDialog)): Param_1
    //#input(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1(ColourPickerDialog)): this
    //#output(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1(ColourPickerDialog)): this.this$0
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1(ColourPickerDialog)): this.this$0 == Param_1
    //#post(void com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1(ColourPickerDialog)): init'ed(this.this$0)
    //#ColourPickerDialog.java:143: end of method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1.com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1(ColourPickerDialog)

                /** {@inheritDoc} */
                @Override
                public void windowClosed(WindowEvent e) {
                    dispose();
    //#ColourPickerDialog.java:148: method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1.windowClosed(WindowEvent)
    //#ColourPickerDialog.java:148: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.ColourPickerDialog:dispose()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1
    //#    method: void windowClosed(WindowEvent)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog:dispose()
    //#input(void windowClosed(WindowEvent)): this
    //#input(void windowClosed(WindowEvent)): this.this$0
    //#pre[2] (void windowClosed(WindowEvent)): this.this$0 != null
                }
    //#ColourPickerDialog.java:149: end of method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1.windowClosed(WindowEvent)
            });
        }
    }
    //#ColourPickerDialog.java:152: end of method: void com.dmdirc.addons.ui_swing.components.ColourPickerDialog.setWindow(Window)
}
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/components/ColourPickerDialog$1]
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1__static_init): __Dispatch_Table.windowClosed(Ljava/awt/event/WindowEvent;)V
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/components/ColourPickerDialog$1] == &__Dispatch_Table
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1__static_init): __Dispatch_Table.windowClosed(Ljava/awt/event/WindowEvent;)V == &windowClosed
    //#ColourPickerDialog.java:: end of method: com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1.com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1__static_init
    //#ColourPickerDialog.java:: end of class: com.dmdirc.addons.ui_swing.components.ColourPickerDialog$1
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/components/ColourPickerDialog]
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.addActionListener(Ljava/awt/event/ActionListener;)V
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.createRootPane()Ljavax/swing/JRootPane;
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.display()V
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.executeAction(Ljavax/swing/JButton;)V
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.getCancelButton()Ljavax/swing/JButton;
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.getLeftButton()Ljavax/swing/JButton;
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.getOkButton()Ljavax/swing/JButton;
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.getRightButton()Ljavax/swing/JButton;
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.orderButtons(Ljavax/swing/JButton;Ljavax/swing/JButton;)V
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.setWindow(Ljava/awt/Window;)V
    //#output(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/ColourPickerDialog]
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/components/ColourPickerDialog] == &__Dispatch_Table
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/ColourPickerDialog] == &__Dispatch_Table
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.addActionListener(Ljava/awt/event/ActionListener;)V == &addActionListener
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.createRootPane()Ljavax/swing/JRootPane; == &com/dmdirc/addons/ui_swing/components/StandardDialog.createRootPane
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.display()V == &com/dmdirc/addons/ui_swing/components/StandardDialog.display
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.executeAction(Ljavax/swing/JButton;)V == &com/dmdirc/addons/ui_swing/components/StandardDialog.executeAction
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.getCancelButton()Ljavax/swing/JButton; == &com/dmdirc/addons/ui_swing/components/StandardDialog.getCancelButton
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.getLeftButton()Ljavax/swing/JButton; == &com/dmdirc/addons/ui_swing/components/StandardDialog.getLeftButton
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.getOkButton()Ljavax/swing/JButton; == &com/dmdirc/addons/ui_swing/components/StandardDialog.getOkButton
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.getRightButton()Ljavax/swing/JButton; == &com/dmdirc/addons/ui_swing/components/StandardDialog.getRightButton
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.orderButtons(Ljavax/swing/JButton;Ljavax/swing/JButton;)V == &com/dmdirc/addons/ui_swing/components/StandardDialog.orderButtons
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V == &com/dmdirc/addons/ui_swing/components/StandardDialog.setCancelButton
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V == &com/dmdirc/addons/ui_swing/components/StandardDialog.setOkButton
    //#post(com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init): __Dispatch_Table.setWindow(Ljava/awt/Window;)V == &setWindow
    //#ColourPickerDialog.java:: end of method: com.dmdirc.addons.ui_swing.components.ColourPickerDialog.com.dmdirc.addons.ui_swing.components.ColourPickerDialog__static_init
    //#ColourPickerDialog.java:: end of class: com.dmdirc.addons.ui_swing.components.ColourPickerDialog
