//# 0 errors, 637 messages
//#
/*
    //#NickColourInputDialog.java:1:1: class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#NickColourInputDialog.java:1:1: method: com.dmdirc.addons.nickcolours.NickColourInputDialog.com.dmdirc.addons.nickcolours.NickColourInputDialog__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.nickcolours;

import com.dmdirc.Main;
import com.dmdirc.addons.ui_swing.MainFrame;
import com.dmdirc.addons.ui_swing.components.StandardDialog;
import com.dmdirc.addons.ui_swing.components.ColourChooser;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.WindowConstants;

import net.miginfocom.swing.MigLayout;

/**
 * New nick colour input dialog.
 */
public class NickColourInputDialog extends StandardDialog
        implements ActionListener {
    
    /**
     * 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;
    
    /** Whether or not this is a new entry (as opposed to editing an old one). */
    private boolean isnew;
    /** The row we're editing, if this isn't a new entry. */
    private int row;
    
    /** The NickColourPanel we're reporting to. */
    private final NickColourPanel panel;
    
    /** nickname textfield. */
    private JTextField nickname;
    /** network textfield. */
    private JTextField network;
    /** text colour input. */
    private ColourChooser textColour;
    /** nicklist colour input. */
    private ColourChooser nicklistColour;
    
    /**
     * Creates a new instance of NickColourInputDialog.
     *
     * @param panel The panel that's opening this dialog
     * @param row The row of the table we're editing
     * @param nickname The nickname that's currently set
     * @param network The network that's currently set
     * @param textcolour The text colour that's currently set
     * @param nickcolour The nicklist colour that's currently set
     */
    public NickColourInputDialog(final NickColourPanel panel, final int row,
            final String nickname, final String network,
            final String textcolour, final String nickcolour) {
        super((MainFrame) Main.getUI().getMainWindow(), false);
    //#NickColourInputDialog.java:83: method: void com.dmdirc.addons.nickcolours.NickColourInputDialog.com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)
    //#NickColourInputDialog.java:83: Warning: method not available - call not analyzed
    //#    call on UIController com.dmdirc.Main:getUI()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)
    //#    unanalyzed callee: UIController com.dmdirc.Main:getUI()
    //#NickColourInputDialog.java:83: Warning: method not available - call not analyzed
    //#    call on MainWindow com.dmdirc.ui.interfaces.UIController:getMainWindow()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)
    //#    unanalyzed callee: MainWindow com.dmdirc.ui.interfaces.UIController:getMainWindow()
    //#NickColourInputDialog.java:83: Warning: suspicious precondition
    //#    The precondition for this.__Tag is not a contiguous range of values
    //#    severity: SUPPRESSED
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)
    //#    suspicious precondition index: [4]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): __Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): __Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/MainFrame.__Descendant_Table[com/dmdirc/addons/ui_swing/MainFrame]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/MainFrame.__Descendant_Table[others]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/ColourChooser.java.awt.Color.DARK_GRAY
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/ColourPickerDialog.__Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/ColourPickerDialog.__Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/MenuBar$1.__Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/MenuBar$1.__Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/nickcolours/NickColourInputDialog]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/ColourPickerDialog]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/MenuBar$1]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/StandardDialog]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/StandardInputDialog]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/durationeditor/DurationEditor]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[others]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardInputDialog.__Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardInputDialog.__Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/durationeditor/DurationEditor.__Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com/dmdirc/addons/ui_swing/components/durationeditor/DurationEditor.__Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): network
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): nickcolour
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): nickname
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): panel
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): row
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): textcolour
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.__Tag
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).__Tag
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).command
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).editButton
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).listeners
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).previewPanel
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).showHex
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).showIRC
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).value
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).window
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).__Tag
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).command
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).editButton
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).listeners
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).previewPanel
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).showHex
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).showIRC
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).value
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).window
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new EventListenerList(ColourChooser#1) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JButton(ColourChooser#2) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JButton(initComponents#1) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JButton(initComponents#2) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JPanel(ColourChooser#5) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JTextField(initComponents#3) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JTextField(initComponents#4) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.__Tag
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.cancelButton
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.network
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.nicklistColour
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.nickname
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.okButton
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.panel
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.row
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.textColour
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new EventListenerList(ColourChooser#1)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JButton(ColourChooser#2)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JButton(initComponents#1)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JButton(initComponents#2)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JPanel(ColourChooser#5)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JTextField(initComponents#3)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JTextField(initComponents#4)
    //#pre[4] (void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.__Tag in {com/dmdirc/addons/nickcolours/NickColourInputDialog, com/dmdirc/addons/ui_swing/components/ColourPickerDialog, com/dmdirc/addons/ui_swing/components/MenuBar$1, com/dmdirc/addons/ui_swing/components/StandardDialog, com/dmdirc/addons/ui_swing/components/StandardInputDialog, com/dmdirc/addons/ui_swing/components/durationeditor/DurationEditor}
    //#presumption(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com.dmdirc.Main:getUI(...)@83 != null
    //#presumption(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com.dmdirc.Main:getUI(...)@96 != null
    //#presumption(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com.dmdirc.ui.interfaces.UIController:getMainWindow(...).__Tag@83 == com/dmdirc/addons/ui_swing/MainFrame
    //#presumption(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): com.dmdirc.ui.interfaces.UIController:getMainWindow(...).__Tag@96 == com/dmdirc/addons/ui_swing/MainFrame
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.__Tag == old this.__Tag
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.__Tag in {com/dmdirc/addons/nickcolours/NickColourInputDialog, com/dmdirc/addons/ui_swing/components/ColourPickerDialog, com/dmdirc/addons/ui_swing/components/MenuBar$1, com/dmdirc/addons/ui_swing/components/StandardDialog, com/dmdirc/addons/ui_swing/components/StandardInputDialog, com/dmdirc/addons/ui_swing/components/durationeditor/DurationEditor}
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.cancelButton == One-of{&new JButton(initComponents#2), &new JButton(initComponents#1)}
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.cancelButton in Addr_Set{&new JButton(initComponents#1),&new JButton(initComponents#2)}
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.network == &new JTextField(initComponents#4)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.nicklistColour == &new ColourChooser(initComponents#6)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.nickname == &new JTextField(initComponents#3)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.okButton == One-of{&new JButton(initComponents#1), &new JButton(initComponents#2)}
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.okButton in Addr_Set{&new JButton(initComponents#1),&new JButton(initComponents#2)}
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.panel == panel
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): init'ed(this.panel)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.row == row
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): init'ed(this.row)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): this.textColour == &new ColourChooser(initComponents#5)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).showHex == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).showIRC == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).showHex == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).showIRC == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new EventListenerList(ColourChooser#1) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JButton(ColourChooser#2) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JButton(initComponents#1) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JButton(initComponents#2) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JPanel(ColourChooser#5) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JTextField(initComponents#3) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new JTextField(initComponents#4) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).__Tag == com/dmdirc/addons/ui_swing/components/ColourChooser
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).__Tag == com/dmdirc/addons/ui_swing/components/ColourChooser
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).command == &""
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).command == &""
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).editButton == &new JButton(ColourChooser#2)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).editButton == &new JButton(ColourChooser#2)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).listeners == &new EventListenerList(ColourChooser#1)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).listeners == &new EventListenerList(ColourChooser#1)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).previewPanel == &new JPanel(ColourChooser#5)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).previewPanel == &new JPanel(ColourChooser#5)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#5).value == textcolour
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): init'ed(new ColourChooser(initComponents#5).value)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): init'ed(new ColourChooser(initComponents#5).window)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): new ColourChooser(initComponents#6).value == nickcolour
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): init'ed(new ColourChooser(initComponents#6).value)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): init'ed(new ColourChooser(initComponents#6).window)
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.JButton
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:orderButtons
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.JTextField
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:java.lang.String:isEmpty
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:com.dmdirc.ui.messages.ColourManager:getColour
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.JPanel:setBackground
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.JPanel:setToolTipText
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:com.dmdirc.ui.messages.ColourManager:parseColour
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.JPanel
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.event.EventListenerList
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:isWindowsUI
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:java.awt.Insets
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.JButton:setMargin
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.JButton:addActionListener
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:java.awt.Dimension
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.JPanel:setPreferredSize
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.BorderFactory:createLineBorder
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.JPanel:setBorder
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:net.miginfocom.swing.MigLayout
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourChooser:setLayout
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourChooser:add
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:getOkButton
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:getCancelButton
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:com.dmdirc.addons.nickcolours.NickColourInputDialog:setLayout
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.JLabel
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:com.dmdirc.addons.nickcolours.NickColourInputDialog:add
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:getLeftButton
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:getRightButton
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:com.dmdirc.addons.nickcolours.NickColourInputDialog:pack
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.JButton:setText
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.JButton:setDefaultCapable
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:java.lang.System:getProperty
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:java.lang.String:toLowerCase
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:java.lang.String:startsWith
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.JButton:setPreferredSize
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.JButton:setMinimumSize
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.UIManager:getLookAndFeel
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:java.lang.Object:getClass
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:java.lang.Class:getName
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:java.lang.String:equals
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:javax.swing.JDialog
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:java.awt.Frame:getIconImages
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.StandardDialog:setIconImages
        
        this.panel = panel;
        this.row = row;
        
        setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    //#NickColourInputDialog.java:88: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.nickcolours.NickColourInputDialog:setDefaultCloseOperation(int)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)
    //#    unanalyzed callee: void com.dmdirc.addons.nickcolours.NickColourInputDialog:setDefaultCloseOperation(int)
        
        initComponents(nickname, network, textcolour, nickcolour);
        initListeners();
        layoutComponents();
        
        setTitle("Nick colour editor");
    //#NickColourInputDialog.java:94: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.nickcolours.NickColourInputDialog:setTitle(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)
    //#    unanalyzed callee: void com.dmdirc.addons.nickcolours.NickColourInputDialog:setTitle(String)
        
        setLocationRelativeTo((MainFrame) Main.getUI().getMainWindow());
    //#NickColourInputDialog.java:96: Warning: method not available - call not analyzed
    //#    call on UIController com.dmdirc.Main:getUI()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)
    //#    unanalyzed callee: UIController com.dmdirc.Main:getUI()
    //#NickColourInputDialog.java:96: Warning: method not available - call not analyzed
    //#    call on MainWindow com.dmdirc.ui.interfaces.UIController:getMainWindow()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)
    //#    unanalyzed callee: MainWindow com.dmdirc.ui.interfaces.UIController:getMainWindow()
    //#NickColourInputDialog.java:96: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.nickcolours.NickColourInputDialog:setLocationRelativeTo(Component)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)
    //#    unanalyzed callee: void com.dmdirc.addons.nickcolours.NickColourInputDialog:setLocationRelativeTo(Component)
        setVisible(true);
    //#NickColourInputDialog.java:97: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.nickcolours.NickColourInputDialog:setVisible(bool)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)
    //#    unanalyzed callee: void com.dmdirc.addons.nickcolours.NickColourInputDialog:setVisible(bool)
    }
    //#NickColourInputDialog.java:98: end of method: void com.dmdirc.addons.nickcolours.NickColourInputDialog.com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel, int, String, String, String, String)
    
    /**
     * Creates a new instance of NickColourInputDialog.
     *
     * @param panel The panel that's opening this dialog
     */
    public NickColourInputDialog(final NickColourPanel panel) {
        this(panel, -1, "", "", "", "");
    //#NickColourInputDialog.java:106: method: void com.dmdirc.addons.nickcolours.NickColourInputDialog.com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)
    //#NickColourInputDialog.java:106: Warning: suspicious precondition
    //#    The precondition for this.__Tag is not a contiguous range of values
    //#    severity: SUPPRESSED
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)
    //#    suspicious precondition index: [1]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): __Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): __Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/MainFrame.__Descendant_Table[com/dmdirc/addons/ui_swing/MainFrame]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/MainFrame.__Descendant_Table[others]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/ColourChooser.java.awt.Color.DARK_GRAY
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/ColourPickerDialog.__Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/ColourPickerDialog.__Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/MenuBar$1.__Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/MenuBar$1.__Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/nickcolours/NickColourInputDialog]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/ColourPickerDialog]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/MenuBar$1]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/StandardDialog]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/StandardInputDialog]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/durationeditor/DurationEditor]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[others]
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/StandardInputDialog.__Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/StandardInputDialog.__Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/durationeditor/DurationEditor.__Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): com/dmdirc/addons/ui_swing/components/durationeditor/DurationEditor.__Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): panel
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this
    //#input(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.__Tag
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).__Tag
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).command
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).editButton
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).listeners
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).previewPanel
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).showHex
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).showIRC
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).value
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).window
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).__Tag
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).command
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).editButton
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).listeners
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).previewPanel
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).showHex
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).showIRC
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).value
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).window
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new EventListenerList(ColourChooser#1) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JButton(ColourChooser#2) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JButton(initComponents#1) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JButton(initComponents#2) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JPanel(ColourChooser#5) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JTextField(initComponents#3) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JTextField(initComponents#4) num objects
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.__Tag
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.cancelButton
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.isnew
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.network
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.nicklistColour
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.nickname
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.okButton
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.panel
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.row
    //#output(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.textColour
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new EventListenerList(ColourChooser#1)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JButton(ColourChooser#2)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JButton(initComponents#1)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JButton(initComponents#2)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JPanel(ColourChooser#5)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JTextField(initComponents#3)
    //#new obj(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JTextField(initComponents#4)
    //#pre[1] (void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.__Tag in {com/dmdirc/addons/nickcolours/NickColourInputDialog, com/dmdirc/addons/ui_swing/components/ColourPickerDialog, com/dmdirc/addons/ui_swing/components/MenuBar$1, com/dmdirc/addons/ui_swing/components/StandardDialog, com/dmdirc/addons/ui_swing/components/StandardInputDialog, com/dmdirc/addons/ui_swing/components/durationeditor/DurationEditor}
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.__Tag == old this.__Tag
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.__Tag in {com/dmdirc/addons/nickcolours/NickColourInputDialog, com/dmdirc/addons/ui_swing/components/ColourPickerDialog, com/dmdirc/addons/ui_swing/components/MenuBar$1, com/dmdirc/addons/ui_swing/components/StandardDialog, com/dmdirc/addons/ui_swing/components/StandardInputDialog, com/dmdirc/addons/ui_swing/components/durationeditor/DurationEditor}
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.cancelButton == One-of{&new JButton(initComponents#2), &new JButton(initComponents#1)}
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.cancelButton in Addr_Set{&new JButton(initComponents#1),&new JButton(initComponents#2)}
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.isnew == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).showHex == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).showIRC == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).showHex == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).showIRC == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new EventListenerList(ColourChooser#1) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JButton(ColourChooser#2) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JButton(initComponents#1) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JButton(initComponents#2) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JPanel(ColourChooser#5) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JTextField(initComponents#3) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new JTextField(initComponents#4) num objects == 1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.network == &new JTextField(initComponents#4)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.nicklistColour == &new ColourChooser(initComponents#6)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.nickname == &new JTextField(initComponents#3)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.okButton == One-of{&new JButton(initComponents#1), &new JButton(initComponents#2)}
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.okButton in Addr_Set{&new JButton(initComponents#1),&new JButton(initComponents#2)}
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.panel == panel
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): init'ed(this.panel)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.row == -1
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): this.textColour == &new ColourChooser(initComponents#5)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).__Tag == com/dmdirc/addons/ui_swing/components/ColourChooser
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).__Tag == com/dmdirc/addons/ui_swing/components/ColourChooser
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).command == &""
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).value == &""
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).command == &""
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).value == &""
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).editButton == &new JButton(ColourChooser#2)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).editButton == &new JButton(ColourChooser#2)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).listeners == &new EventListenerList(ColourChooser#1)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).listeners == &new EventListenerList(ColourChooser#1)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#5).previewPanel == &new JPanel(ColourChooser#5)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): new ColourChooser(initComponents#6).previewPanel == &new JPanel(ColourChooser#5)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): init'ed(new ColourChooser(initComponents#5).window)
    //#post(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): init'ed(new ColourChooser(initComponents#6).window)
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.JButton
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:orderButtons
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.JTextField
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:java.lang.String:isEmpty
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:com.dmdirc.ui.messages.ColourManager:getColour
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.JPanel:setBackground
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.JPanel:setToolTipText
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:com.dmdirc.ui.messages.ColourManager:parseColour
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.JPanel
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.event.EventListenerList
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:isWindowsUI
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:java.awt.Insets
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.JButton:setMargin
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.JButton:addActionListener
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:java.awt.Dimension
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.JPanel:setPreferredSize
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.BorderFactory:createLineBorder
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.JPanel:setBorder
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:net.miginfocom.swing.MigLayout
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourChooser:setLayout
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourChooser:add
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:getOkButton
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:getCancelButton
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:com.dmdirc.addons.nickcolours.NickColourInputDialog:setLayout
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.JLabel
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:com.dmdirc.addons.nickcolours.NickColourInputDialog:add
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:getLeftButton
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:getRightButton
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:com.dmdirc.addons.nickcolours.NickColourInputDialog:pack
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:com.dmdirc.Main:getUI
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:com.dmdirc.ui.interfaces.UIController:getMainWindow
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.StandardDialog
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:com.dmdirc.addons.nickcolours.NickColourInputDialog:setDefaultCloseOperation
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:com.dmdirc.addons.nickcolours.NickColourInputDialog:setTitle
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:com.dmdirc.addons.nickcolours.NickColourInputDialog:setLocationRelativeTo
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:com.dmdirc.addons.nickcolours.NickColourInputDialog:setVisible
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.JButton:setText
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.JButton:setDefaultCapable
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:java.lang.System:getProperty
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:java.lang.String:toLowerCase
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:java.lang.String:startsWith
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.JButton:setPreferredSize
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.JButton:setMinimumSize
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.UIManager:getLookAndFeel
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:java.lang.Object:getClass
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:java.lang.Class:getName
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:java.lang.String:equals
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:javax.swing.JDialog
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:java.awt.Frame:getIconImages
    //#unanalyzed(void com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.StandardDialog:setIconImages
        
        isnew = true;
    }
    //#NickColourInputDialog.java:109: end of method: void com.dmdirc.addons.nickcolours.NickColourInputDialog.com.dmdirc.addons.nickcolours.NickColourInputDialog(NickColourPanel)
    
    /**
     * Initialises the components.
     *
     * @param defaultNickname The default value for the nickname text field
     * @param defaultNetwork The default value for the network text field
     * @param defaultTextColour The default value for the text colour option
     * @param defaultNickColour The default value for the nick colour option
     */
    private void initComponents(final String defaultNickname,
            final String defaultNetwork, final String defaultTextColour,
            final String defaultNickColour) {        
        orderButtons(new JButton(), new JButton());
    //#NickColourInputDialog.java:122: method: void com.dmdirc.addons.nickcolours.NickColourInputDialog.initComponents(String, String, String, String)
    //#NickColourInputDialog.java:122: Warning: suspicious precondition
    //#    The precondition for this.__Tag is not a contiguous range of values
    //#    severity: SUPPRESSED
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void initComponents(String, String, String, String)
    //#    suspicious precondition index: [6]
    //#input(void initComponents(String, String, String, String)): __Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void initComponents(String, String, String, String)): __Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/ColourChooser.java.awt.Color.DARK_GRAY
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/ColourPickerDialog.__Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/ColourPickerDialog.__Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/MenuBar$1.__Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/MenuBar$1.__Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/nickcolours/NickColourInputDialog]
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/ColourPickerDialog]
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/MenuBar$1]
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/StandardDialog]
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/StandardInputDialog]
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/ui_swing/components/durationeditor/DurationEditor]
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[others]
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardDialog.__Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardInputDialog.__Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/StandardInputDialog.__Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/durationeditor/DurationEditor.__Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#input(void initComponents(String, String, String, String)): com/dmdirc/addons/ui_swing/components/durationeditor/DurationEditor.__Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#input(void initComponents(String, String, String, String)): defaultNetwork
    //#input(void initComponents(String, String, String, String)): defaultNickColour
    //#input(void initComponents(String, String, String, String)): defaultNickname
    //#input(void initComponents(String, String, String, String)): defaultTextColour
    //#input(void initComponents(String, String, String, String)): this
    //#input(void initComponents(String, String, String, String)): this.__Tag
    //#output(void initComponents(String, String, String, String)): new ColourChooser(initComponents#5) num objects
    //#output(void initComponents(String, String, String, String)): this.textColour.__Tag
    //#output(void initComponents(String, String, String, String)): this.textColour.command
    //#output(void initComponents(String, String, String, String)): this.textColour.editButton
    //#output(void initComponents(String, String, String, String)): this.textColour.listeners
    //#output(void initComponents(String, String, String, String)): this.textColour.previewPanel
    //#output(void initComponents(String, String, String, String)): this.textColour.showHex
    //#output(void initComponents(String, String, String, String)): this.textColour.showIRC
    //#output(void initComponents(String, String, String, String)): this.textColour.value
    //#output(void initComponents(String, String, String, String)): this.textColour.window
    //#output(void initComponents(String, String, String, String)): new ColourChooser(initComponents#6) num objects
    //#output(void initComponents(String, String, String, String)): this.nicklistColour.__Tag
    //#output(void initComponents(String, String, String, String)): this.nicklistColour.command
    //#output(void initComponents(String, String, String, String)): this.nicklistColour.editButton
    //#output(void initComponents(String, String, String, String)): this.nicklistColour.listeners
    //#output(void initComponents(String, String, String, String)): this.nicklistColour.previewPanel
    //#output(void initComponents(String, String, String, String)): this.nicklistColour.showHex
    //#output(void initComponents(String, String, String, String)): this.nicklistColour.showIRC
    //#output(void initComponents(String, String, String, String)): this.nicklistColour.value
    //#output(void initComponents(String, String, String, String)): this.nicklistColour.window
    //#output(void initComponents(String, String, String, String)): new EventListenerList(ColourChooser#1) num objects
    //#output(void initComponents(String, String, String, String)): new JButton(ColourChooser#2) num objects
    //#output(void initComponents(String, String, String, String)): new JButton(initComponents#1) num objects
    //#output(void initComponents(String, String, String, String)): new JButton(initComponents#2) num objects
    //#output(void initComponents(String, String, String, String)): new JPanel(ColourChooser#5) num objects
    //#output(void initComponents(String, String, String, String)): new JTextField(initComponents#3) num objects
    //#output(void initComponents(String, String, String, String)): new JTextField(initComponents#4) num objects
    //#output(void initComponents(String, String, String, String)): this.cancelButton
    //#output(void initComponents(String, String, String, String)): this.network
    //#output(void initComponents(String, String, String, String)): this.nicklistColour
    //#output(void initComponents(String, String, String, String)): this.nickname
    //#output(void initComponents(String, String, String, String)): this.okButton
    //#output(void initComponents(String, String, String, String)): this.textColour
    //#new obj(void initComponents(String, String, String, String)): new ColourChooser(initComponents#5)
    //#new obj(void initComponents(String, String, String, String)): new ColourChooser(initComponents#6)
    //#new obj(void initComponents(String, String, String, String)): new EventListenerList(ColourChooser#1)
    //#new obj(void initComponents(String, String, String, String)): new JButton(ColourChooser#2)
    //#new obj(void initComponents(String, String, String, String)): new JButton(initComponents#1)
    //#new obj(void initComponents(String, String, String, String)): new JButton(initComponents#2)
    //#new obj(void initComponents(String, String, String, String)): new JPanel(ColourChooser#5)
    //#new obj(void initComponents(String, String, String, String)): new JTextField(initComponents#3)
    //#new obj(void initComponents(String, String, String, String)): new JTextField(initComponents#4)
    //#pre[6] (void initComponents(String, String, String, String)): this.__Tag in {com/dmdirc/addons/nickcolours/NickColourInputDialog, com/dmdirc/addons/ui_swing/components/ColourPickerDialog, com/dmdirc/addons/ui_swing/components/MenuBar$1, com/dmdirc/addons/ui_swing/components/StandardDialog, com/dmdirc/addons/ui_swing/components/StandardInputDialog, com/dmdirc/addons/ui_swing/components/durationeditor/DurationEditor}
    //#post(void initComponents(String, String, String, String)): this.cancelButton == One-of{&new JButton(initComponents#2), &new JButton(initComponents#1)}
    //#post(void initComponents(String, String, String, String)): this.cancelButton in Addr_Set{&new JButton(initComponents#1),&new JButton(initComponents#2)}
    //#post(void initComponents(String, String, String, String)): this.network == &new JTextField(initComponents#4)
    //#post(void initComponents(String, String, String, String)): this.nicklistColour == &new ColourChooser(initComponents#6)
    //#post(void initComponents(String, String, String, String)): this.nickname == &new JTextField(initComponents#3)
    //#post(void initComponents(String, String, String, String)): this.okButton == One-of{&new JButton(initComponents#1), &new JButton(initComponents#2)}
    //#post(void initComponents(String, String, String, String)): this.okButton in Addr_Set{&new JButton(initComponents#1),&new JButton(initComponents#2)}
    //#post(void initComponents(String, String, String, String)): this.textColour == &new ColourChooser(initComponents#5)
    //#post(void initComponents(String, String, String, String)): new ColourChooser(initComponents#5) num objects == 1
    //#post(void initComponents(String, String, String, String)): this.textColour.showHex == 1
    //#post(void initComponents(String, String, String, String)): this.textColour.showIRC == 1
    //#post(void initComponents(String, String, String, String)): new ColourChooser(initComponents#6) num objects == 1
    //#post(void initComponents(String, String, String, String)): this.nicklistColour.showHex == 1
    //#post(void initComponents(String, String, String, String)): this.nicklistColour.showIRC == 1
    //#post(void initComponents(String, String, String, String)): new EventListenerList(ColourChooser#1) num objects == 1
    //#post(void initComponents(String, String, String, String)): new JButton(ColourChooser#2) num objects == 1
    //#post(void initComponents(String, String, String, String)): new JButton(initComponents#1) num objects == 1
    //#post(void initComponents(String, String, String, String)): new JButton(initComponents#2) num objects == 1
    //#post(void initComponents(String, String, String, String)): new JPanel(ColourChooser#5) num objects == 1
    //#post(void initComponents(String, String, String, String)): new JTextField(initComponents#3) num objects == 1
    //#post(void initComponents(String, String, String, String)): new JTextField(initComponents#4) num objects == 1
    //#post(void initComponents(String, String, String, String)): this.textColour.__Tag == com/dmdirc/addons/ui_swing/components/ColourChooser
    //#post(void initComponents(String, String, String, String)): this.nicklistColour.__Tag == com/dmdirc/addons/ui_swing/components/ColourChooser
    //#post(void initComponents(String, String, String, String)): this.textColour.command == &""
    //#post(void initComponents(String, String, String, String)): this.nicklistColour.command == &""
    //#post(void initComponents(String, String, String, String)): this.textColour.editButton == &new JButton(ColourChooser#2)
    //#post(void initComponents(String, String, String, String)): this.textColour.listeners == &new EventListenerList(ColourChooser#1)
    //#post(void initComponents(String, String, String, String)): this.textColour.previewPanel == &new JPanel(ColourChooser#5)
    //#post(void initComponents(String, String, String, String)): this.textColour.value == defaultTextColour
    //#post(void initComponents(String, String, String, String)): init'ed(this.textColour.value)
    //#post(void initComponents(String, String, String, String)): this.textColour.window == null
    //#post(void initComponents(String, String, String, String)): this.nicklistColour.window == null
    //#post(void initComponents(String, String, String, String)): this.nicklistColour.editButton == &new JButton(ColourChooser#2)
    //#post(void initComponents(String, String, String, String)): this.nicklistColour.listeners == &new EventListenerList(ColourChooser#1)
    //#post(void initComponents(String, String, String, String)): this.nicklistColour.previewPanel == &new JPanel(ColourChooser#5)
    //#post(void initComponents(String, String, String, String)): this.nicklistColour.value == defaultNickColour
    //#post(void initComponents(String, String, String, String)): init'ed(this.nicklistColour.value)
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:java.lang.String:isEmpty
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:com.dmdirc.ui.messages.ColourManager:getColour
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:javax.swing.JPanel:setBackground
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:javax.swing.JPanel:setToolTipText
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:com.dmdirc.ui.messages.ColourManager:parseColour
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:javax.swing.JPanel
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:javax.swing.event.EventListenerList
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:javax.swing.JButton
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:isWindowsUI
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:java.awt.Insets
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:javax.swing.JButton:setMargin
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:javax.swing.JButton:addActionListener
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:java.awt.Dimension
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:javax.swing.JPanel:setPreferredSize
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:javax.swing.BorderFactory:createLineBorder
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:javax.swing.JPanel:setBorder
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:net.miginfocom.swing.MigLayout
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourChooser:setLayout
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.ColourChooser:add
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:javax.swing.JButton:setText
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:javax.swing.JButton:setDefaultCapable
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:java.lang.System:getProperty
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:java.lang.String:toLowerCase
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:java.lang.String:startsWith
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:javax.swing.JButton:setPreferredSize
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:javax.swing.JButton:setMinimumSize
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:javax.swing.UIManager:getLookAndFeel
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:java.lang.Object:getClass
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:java.lang.Class:getName
    //#unanalyzed(void initComponents(String, String, String, String)): Effects-of-calling:java.lang.String:equals
        
        nickname = new JTextField(defaultNickname);
        network = new JTextField(defaultNetwork);
        textColour = new ColourChooser(defaultTextColour, true, true);
        nicklistColour = new ColourChooser(defaultNickColour, true, true);
    }
    //#NickColourInputDialog.java:128: end of method: void com.dmdirc.addons.nickcolours.NickColourInputDialog.initComponents(String, String, String, String)
    
    /** Initialises the listeners. */
    private void initListeners() {
        getOkButton().addActionListener(this);
    //#NickColourInputDialog.java:132: method: void com.dmdirc.addons.nickcolours.NickColourInputDialog.initListeners()
    //#input(void initListeners()): this
    //#input(void initListeners()): this.cancelButton
    //#input(void initListeners()): this.okButton
    //#pre[2] (void initListeners()): this.cancelButton != null
    //#pre[3] (void initListeners()): this.okButton != null
        getCancelButton().addActionListener(this);
    }
    //#NickColourInputDialog.java:134: end of method: void com.dmdirc.addons.nickcolours.NickColourInputDialog.initListeners()
    
    /** Lays out the components. */
    private void layoutComponents() {        
        setLayout(new MigLayout("wrap 2"));
    //#NickColourInputDialog.java:138: method: void com.dmdirc.addons.nickcolours.NickColourInputDialog.layoutComponents()
    //#NickColourInputDialog.java:138: Warning: method not available - call not analyzed
    //#    call on void net.miginfocom.swing.MigLayout(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void net.miginfocom.swing.MigLayout(String)
    //#NickColourInputDialog.java:138: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.nickcolours.NickColourInputDialog:setLayout(LayoutManager)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.nickcolours.NickColourInputDialog:setLayout(LayoutManager)
    //#input(void layoutComponents()): this
    //#input(void layoutComponents()): this.cancelButton
    //#input(void layoutComponents()): this.network
    //#input(void layoutComponents()): this.nicklistColour
    //#input(void layoutComponents()): this.nickname
    //#input(void layoutComponents()): this.okButton
    //#input(void layoutComponents()): this.textColour
    //#pre[3] (void layoutComponents()): init'ed(this.network)
    //#pre[4] (void layoutComponents()): init'ed(this.nicklistColour)
    //#pre[5] (void layoutComponents()): init'ed(this.nickname)
    //#pre[7] (void layoutComponents()): init'ed(this.textColour)
    //#pre[2] (void layoutComponents()): (soft) init'ed(this.cancelButton)
    //#pre[6] (void layoutComponents()): (soft) init'ed(this.okButton)
    //#unanalyzed(void layoutComponents()): Effects-of-calling:java.lang.System:getProperty
    //#unanalyzed(void layoutComponents()): Effects-of-calling:java.lang.String:toLowerCase
    //#unanalyzed(void layoutComponents()): Effects-of-calling:java.lang.String:startsWith
        
        add(new JLabel("Nickname: "));
    //#NickColourInputDialog.java:140: Warning: method not available - call not analyzed
    //#    call on Component com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: Component com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component)
        add(nickname, "growx");
    //#NickColourInputDialog.java:141: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component, Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component, Object)
        
        add(new JLabel("Network: "));
    //#NickColourInputDialog.java:143: Warning: method not available - call not analyzed
    //#    call on Component com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: Component com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component)
        add(network, "growx");
    //#NickColourInputDialog.java:144: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component, Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component, Object)
        
        add(new JLabel("Text colour: "));
    //#NickColourInputDialog.java:146: Warning: method not available - call not analyzed
    //#    call on Component com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: Component com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component)
        add(textColour, "growx");
    //#NickColourInputDialog.java:147: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component, Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component, Object)
        
        add(new JLabel("Nicklist colour: "));
    //#NickColourInputDialog.java:149: Warning: method not available - call not analyzed
    //#    call on Component com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: Component com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component)
        add(nicklistColour, "growx");
    //#NickColourInputDialog.java:150: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component, Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component, Object)
        
        add(getLeftButton(), "right");
    //#NickColourInputDialog.java:152: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component, Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component, Object)
        add(getRightButton(), "right");
    //#NickColourInputDialog.java:153: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component, Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.nickcolours.NickColourInputDialog:add(Component, Object)
        
        pack();
    //#NickColourInputDialog.java:155: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.nickcolours.NickColourInputDialog:pack()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.nickcolours.NickColourInputDialog:pack()
    }
    //#NickColourInputDialog.java:156: end of method: void com.dmdirc.addons.nickcolours.NickColourInputDialog.layoutComponents()
    
    /** 
     * {@inheritDoc} 
     * 
     * @param e Action event
     */
    @Override
    public void actionPerformed(final ActionEvent e) {
        if (e.getSource() == getOkButton()) {
    //#NickColourInputDialog.java:165: method: void com.dmdirc.addons.nickcolours.NickColourInputDialog.actionPerformed(ActionEvent)
    //#input(void actionPerformed(ActionEvent)): __Descendant_Table[com/dmdirc/addons/nickcolours/NickColourInputDialog]
    //#input(void actionPerformed(ActionEvent)): __Descendant_Table[others]
    //#input(void actionPerformed(ActionEvent)): __Dispatch_Table.saveSettings()V
    //#input(void actionPerformed(ActionEvent)): com/dmdirc/addons/nickcolours/NickColourPanel.__Descendant_Table[com/dmdirc/addons/nickcolours/NickColourPanel]
    //#input(void actionPerformed(ActionEvent)): com/dmdirc/addons/nickcolours/NickColourPanel.__Descendant_Table[others]
    //#input(void actionPerformed(ActionEvent)): com/dmdirc/addons/nickcolours/NickColourPanel.__Dispatch_Table.addRow(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    //#input(void actionPerformed(ActionEvent)): com/dmdirc/addons/nickcolours/NickColourPanel.__Dispatch_Table.removeRow(I)V
    //#input(void actionPerformed(ActionEvent)): e
    //#input(void actionPerformed(ActionEvent)): this
    //#input(void actionPerformed(ActionEvent)): this.__Tag
    //#input(void actionPerformed(ActionEvent)): this.isnew
    //#input(void actionPerformed(ActionEvent)): this.network
    //#input(void actionPerformed(ActionEvent)): this.nicklistColour
    //#input(void actionPerformed(ActionEvent)): this.nicklistColour.value
    //#input(void actionPerformed(ActionEvent)): this.nickname
    //#input(void actionPerformed(ActionEvent)): this.okButton
    //#input(void actionPerformed(ActionEvent)): this.panel
    //#input(void actionPerformed(ActionEvent)): this.panel.__Tag
    //#input(void actionPerformed(ActionEvent)): this.panel.table
    //#input(void actionPerformed(ActionEvent)): this.row
    //#input(void actionPerformed(ActionEvent)): this.textColour
    //#input(void actionPerformed(ActionEvent)): this.textColour.value
    //#pre[1] (void actionPerformed(ActionEvent)): e != null
    //#pre[9] (void actionPerformed(ActionEvent)): init'ed(this.okButton)
    //#pre[3] (void actionPerformed(ActionEvent)): (soft) this.__Tag == com/dmdirc/addons/nickcolours/NickColourInputDialog
    //#pre[4] (void actionPerformed(ActionEvent)): (soft) init'ed(this.isnew)
    //#pre[5] (void actionPerformed(ActionEvent)): (soft) this.network != null
    //#pre[6] (void actionPerformed(ActionEvent)): (soft) this.nicklistColour != null
    //#pre[7] (void actionPerformed(ActionEvent)): (soft) init'ed(this.nicklistColour.value)
    //#pre[8] (void actionPerformed(ActionEvent)): (soft) this.nickname != null
    //#pre[10] (void actionPerformed(ActionEvent)): (soft) this.panel != null
    //#pre[11] (void actionPerformed(ActionEvent)): (soft) this.panel.__Tag == com/dmdirc/addons/nickcolours/NickColourPanel
    //#pre[12] (void actionPerformed(ActionEvent)): (soft) this.panel.table != null
    //#pre[13] (void actionPerformed(ActionEvent)): (soft) init'ed(this.row)
    //#pre[14] (void actionPerformed(ActionEvent)): (soft) this.textColour != null
    //#pre[15] (void actionPerformed(ActionEvent)): (soft) init'ed(this.textColour.value)
    //#unanalyzed(void actionPerformed(ActionEvent)): Effects-of-calling:javax.swing.JTextField:getText
    //#unanalyzed(void actionPerformed(ActionEvent)): Effects-of-calling:java.lang.String:toLowerCase
    //#unanalyzed(void actionPerformed(ActionEvent)): Effects-of-calling:javax.swing.JTable:getModel
    //#unanalyzed(void actionPerformed(ActionEvent)): Effects-of-calling:javax.swing.table.DefaultTableModel:removeRow
    //#unanalyzed(void actionPerformed(ActionEvent)): Effects-of-calling:javax.swing.table.DefaultTableModel:addRow
            saveSettings();
        }
        dispose();
    //#NickColourInputDialog.java:168: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.nickcolours.NickColourInputDialog:dispose()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.nickcolours.NickColourInputDialog
    //#    method: void actionPerformed(ActionEvent)
    //#    unanalyzed callee: void com.dmdirc.addons.nickcolours.NickColourInputDialog:dispose()
    }
    //#NickColourInputDialog.java:169: end of method: void com.dmdirc.addons.nickcolours.NickColourInputDialog.actionPerformed(ActionEvent)
    
    /** Saves settings. */
    public void saveSettings() {
        final String myNetwork = network.getText().toLowerCase();
    //#NickColourInputDialog.java:173: method: void com.dmdirc.addons.nickcolours.NickColourInputDialog.saveSettings()
    //#input(void saveSettings()): com/dmdirc/addons/nickcolours/NickColourPanel.__Descendant_Table[com/dmdirc/addons/nickcolours/NickColourPanel]
    //#input(void saveSettings()): com/dmdirc/addons/nickcolours/NickColourPanel.__Descendant_Table[others]
    //#input(void saveSettings()): com/dmdirc/addons/nickcolours/NickColourPanel.__Dispatch_Table.addRow(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    //#input(void saveSettings()): com/dmdirc/addons/nickcolours/NickColourPanel.__Dispatch_Table.removeRow(I)V
    //#input(void saveSettings()): this
    //#input(void saveSettings()): this.isnew
    //#input(void saveSettings()): this.network
    //#input(void saveSettings()): this.nicklistColour
    //#input(void saveSettings()): this.nicklistColour.value
    //#input(void saveSettings()): this.nickname
    //#input(void saveSettings()): this.panel
    //#input(void saveSettings()): this.panel.__Tag
    //#input(void saveSettings()): this.panel.table
    //#input(void saveSettings()): this.row
    //#input(void saveSettings()): this.textColour
    //#input(void saveSettings()): this.textColour.value
    //#pre[2] (void saveSettings()): init'ed(this.isnew)
    //#pre[3] (void saveSettings()): this.network != null
    //#pre[4] (void saveSettings()): this.nicklistColour != null
    //#pre[5] (void saveSettings()): init'ed(this.nicklistColour.value)
    //#pre[6] (void saveSettings()): this.nickname != null
    //#pre[7] (void saveSettings()): this.panel != null
    //#pre[8] (void saveSettings()): this.panel.__Tag == com/dmdirc/addons/nickcolours/NickColourPanel
    //#pre[9] (void saveSettings()): this.panel.table != null
    //#pre[11] (void saveSettings()): this.textColour != null
    //#pre[12] (void saveSettings()): init'ed(this.textColour.value)
    //#pre[10] (void saveSettings()): (soft) init'ed(this.row)
    //#presumption(void saveSettings()): javax.swing.JTextField:getText(...)@173 != null
    //#presumption(void saveSettings()): javax.swing.JTextField:getText(...)@174 != null
    //#unanalyzed(void saveSettings()): Effects-of-calling:javax.swing.JTable:getModel
    //#unanalyzed(void saveSettings()): Effects-of-calling:javax.swing.table.DefaultTableModel:removeRow
    //#unanalyzed(void saveSettings()): Effects-of-calling:javax.swing.table.DefaultTableModel:addRow
    //#test_vector(void saveSettings()): this.isnew: {1}, {0}
        final String myNickname = nickname.getText().toLowerCase();
        final String myTextColour = textColour.getColour();
        final String myNickColour = nicklistColour.getColour();
        
        if (!isnew) {
            panel.removeRow(row);
        }
        
        panel.addRow(myNetwork, myNickname, myTextColour, myNickColour);
    }
    //#NickColourInputDialog.java:183: end of method: void com.dmdirc.addons.nickcolours.NickColourInputDialog.saveSettings()
    
}
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Descendant_Table[com/dmdirc/addons/nickcolours/NickColourInputDialog]
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.actionPerformed(Ljava/awt/event/ActionEvent;)V
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.createRootPane()Ljavax/swing/JRootPane;
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.display()V
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.executeAction(Ljavax/swing/JButton;)V
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.getCancelButton()Ljavax/swing/JButton;
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.getLeftButton()Ljavax/swing/JButton;
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.getOkButton()Ljavax/swing/JButton;
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.getRightButton()Ljavax/swing/JButton;
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.initComponents(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.initListeners()V
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.layoutComponents()V
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.orderButtons(Ljavax/swing/JButton;Ljavax/swing/JButton;)V
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.saveSettings()V
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V
    //#output(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/nickcolours/NickColourInputDialog]
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Descendant_Table[com/dmdirc/addons/nickcolours/NickColourInputDialog] == &__Dispatch_Table
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): com/dmdirc/addons/ui_swing/components/StandardDialog.__Descendant_Table[com/dmdirc/addons/nickcolours/NickColourInputDialog] == &__Dispatch_Table
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.actionPerformed(Ljava/awt/event/ActionEvent;)V == &actionPerformed
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.createRootPane()Ljavax/swing/JRootPane; == &com/dmdirc/addons/ui_swing/components/StandardDialog.createRootPane
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.display()V == &com/dmdirc/addons/ui_swing/components/StandardDialog.display
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.executeAction(Ljavax/swing/JButton;)V == &com/dmdirc/addons/ui_swing/components/StandardDialog.executeAction
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.getCancelButton()Ljavax/swing/JButton; == &com/dmdirc/addons/ui_swing/components/StandardDialog.getCancelButton
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.getLeftButton()Ljavax/swing/JButton; == &com/dmdirc/addons/ui_swing/components/StandardDialog.getLeftButton
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.getOkButton()Ljavax/swing/JButton; == &com/dmdirc/addons/ui_swing/components/StandardDialog.getOkButton
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.getRightButton()Ljavax/swing/JButton; == &com/dmdirc/addons/ui_swing/components/StandardDialog.getRightButton
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.initComponents(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V == &initComponents
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.initListeners()V == &initListeners
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.layoutComponents()V == &layoutComponents
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.orderButtons(Ljavax/swing/JButton;Ljavax/swing/JButton;)V == &com/dmdirc/addons/ui_swing/components/StandardDialog.orderButtons
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.saveSettings()V == &saveSettings
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.setCancelButton(Ljavax/swing/JButton;)V == &com/dmdirc/addons/ui_swing/components/StandardDialog.setCancelButton
    //#post(com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init): __Dispatch_Table.setOkButton(Ljavax/swing/JButton;)V == &com/dmdirc/addons/ui_swing/components/StandardDialog.setOkButton
    //#NickColourInputDialog.java:: end of method: com.dmdirc.addons.nickcolours.NickColourInputDialog.com.dmdirc.addons.nickcolours.NickColourInputDialog__static_init
    //#NickColourInputDialog.java:: end of class: com.dmdirc.addons.nickcolours.NickColourInputDialog
