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

package com.dmdirc.addons.ui_swing.dialogs.updater;

import com.dmdirc.addons.ui_swing.MainFrame;
import com.dmdirc.addons.ui_swing.components.StandardDialog;
import com.dmdirc.addons.ui_swing.components.text.TextLabel;

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

import javax.swing.JButton;

import net.miginfocom.swing.MigLayout;

/**
 * Prompts the user to restart the client, and restarts the client.
 */
public class SwingRestartDialog 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 = -7446499281414990074L;
    /** Informational label. */
    private TextLabel info;
    /** Swing controller. */
    private MainFrame mainFrame;
    

    /**
     * Dialog to restart the client.
     * 
     * @param mainFrame Main Frame
     * @param modal Modality
     */
    public SwingRestartDialog(final MainFrame mainFrame, final ModalityType modal) {
        super(mainFrame, modal);
    //#SwingRestartDialog.java:61: method: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog.com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)
    //#SwingRestartDialog.java:61: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.StandardDialog(Window, Dialog$ModalityType)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.StandardDialog(Window, Dialog$ModalityType)
    //#input(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): __Descendant_Table[com/dmdirc/addons/ui_swing/dialogs/updater/SwingRestartDialog]
    //#input(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): __Descendant_Table[others]
    //#input(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): __Dispatch_Table.layoutComponents()V
    //#input(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): mainFrame
    //#input(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): modal
    //#input(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): this
    //#input(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): this.__Tag
    //#output(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): new TextLabel(initComponents#3) num objects
    //#output(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): this.__Tag
    //#output(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): this.info
    //#output(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): this.mainFrame
    //#new obj(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): new TextLabel(initComponents#3)
    //#pre[3] (void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): this.__Tag == com/dmdirc/addons/ui_swing/dialogs/updater/SwingRestartDialog
    //#post(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): this.__Tag == com/dmdirc/addons/ui_swing/dialogs/updater/SwingRestartDialog
    //#post(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): this.info == &new TextLabel(initComponents#3)
    //#post(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): this.mainFrame == mainFrame
    //#post(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): init'ed(this.mainFrame)
    //#post(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): new TextLabel(initComponents#3) num objects == 1
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): Effects-of-calling:javax.swing.JButton
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): Effects-of-calling:com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:orderButtons
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.text.TextLabel
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): Effects-of-calling:com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getOkButton
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): Effects-of-calling:javax.swing.JButton:setText
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): Effects-of-calling:com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getCancelButton
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): Effects-of-calling:javax.swing.JButton:addActionListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): Effects-of-calling:com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:setResizable
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): Effects-of-calling:net.miginfocom.swing.MigLayout
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): Effects-of-calling:com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:setLayout
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): Effects-of-calling:com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:add
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): Effects-of-calling:com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getLeftButton
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)): Effects-of-calling:com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getRightButton
        this.mainFrame = mainFrame;

        setTitle("DMDirc: Restart needed");
    //#SwingRestartDialog.java:64: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:setTitle(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:setTitle(String)
        setDefaultCloseOperation(DISPOSE_ON_CLOSE);
    //#SwingRestartDialog.java:65: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:setDefaultCloseOperation(int)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:setDefaultCloseOperation(int)
        
        initComponents();
        layoutComponents();
        
        pack();
    //#SwingRestartDialog.java:70: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:pack()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:pack()
        setLocationRelativeTo(mainFrame);
    //#SwingRestartDialog.java:71: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:setLocationRelativeTo(Component)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:setLocationRelativeTo(Component)
    }
    //#SwingRestartDialog.java:72: end of method: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog.com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog(MainFrame, Dialog$ModalityType)
    
    /** Initialise components. */
    private void initComponents() {
        orderButtons(new JButton(), new JButton());
    //#SwingRestartDialog.java:76: method: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog.initComponents()
    //#SwingRestartDialog.java:76: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:orderButtons(JButton, JButton)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void initComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:orderButtons(JButton, JButton)
    //#input(void initComponents()): this
    //#output(void initComponents()): new TextLabel(initComponents#3) num objects
    //#output(void initComponents()): this.info
    //#new obj(void initComponents()): new TextLabel(initComponents#3)
    //#presumption(void initComponents()): com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getCancelButton(...)@79 != null
    //#presumption(void initComponents()): com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getCancelButton(...)@82 != null
    //#presumption(void initComponents()): com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getOkButton(...)@78 != null
    //#presumption(void initComponents()): com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getOkButton(...)@81 != null
    //#post(void initComponents()): this.info == &new TextLabel(initComponents#3)
    //#post(void initComponents()): new TextLabel(initComponents#3) num objects == 1
        info = new TextLabel("Your client needs to be restarted to finish updating.");
    //#SwingRestartDialog.java:77: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.text.TextLabel(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void initComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.text.TextLabel(String)
        getOkButton().setText("Now");
    //#SwingRestartDialog.java:78: Warning: method not available - call not analyzed
    //#    call on JButton com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getOkButton()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void initComponents()
    //#    unanalyzed callee: JButton com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getOkButton()
        getCancelButton().setText("Later");
    //#SwingRestartDialog.java:79: Warning: method not available - call not analyzed
    //#    call on JButton com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getCancelButton()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void initComponents()
    //#    unanalyzed callee: JButton com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getCancelButton()
        
        getOkButton().addActionListener(this);  
    //#SwingRestartDialog.java:81: Warning: method not available - call not analyzed
    //#    call on JButton com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getOkButton()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void initComponents()
    //#    unanalyzed callee: JButton com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getOkButton()
        getCancelButton().addActionListener(this);
    //#SwingRestartDialog.java:82: Warning: method not available - call not analyzed
    //#    call on JButton com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getCancelButton()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void initComponents()
    //#    unanalyzed callee: JButton com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getCancelButton()

        setResizable(false);
    //#SwingRestartDialog.java:84: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:setResizable(bool)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void initComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:setResizable(bool)
    }
    //#SwingRestartDialog.java:85: end of method: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog.initComponents()
    
    /** Layout Components. */
    public void layoutComponents() {
        setLayout(new MigLayout("fill, wrap 2"));
    //#SwingRestartDialog.java:89: method: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog.layoutComponents()
    //#SwingRestartDialog.java:89: Warning: method not available - call not analyzed
    //#    call on void net.miginfocom.swing.MigLayout(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void net.miginfocom.swing.MigLayout(String)
    //#SwingRestartDialog.java:89: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:setLayout(LayoutManager)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:setLayout(LayoutManager)
    //#input(void layoutComponents()): this
    //#input(void layoutComponents()): this.info
    //#pre[2] (void layoutComponents()): init'ed(this.info)
        
        add(info, "grow, pushy, span 2");
    //#SwingRestartDialog.java:91: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:add(Component, Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:add(Component, Object)
        add(getLeftButton(), "split, right");
    //#SwingRestartDialog.java:92: Warning: method not available - call not analyzed
    //#    call on JButton com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getLeftButton()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: JButton com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getLeftButton()
    //#SwingRestartDialog.java:92: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:add(Component, Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:add(Component, Object)
        add(getRightButton(), "right");
    //#SwingRestartDialog.java:93: Warning: method not available - call not analyzed
    //#    call on JButton com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getRightButton()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: JButton com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getRightButton()
    //#SwingRestartDialog.java:93: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:add(Component, Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:add(Component, Object)
    }
    //#SwingRestartDialog.java:94: end of method: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog.layoutComponents()

    /** 
     * {@inheritDoc}
     * 
     * @param e Action event
     */
    @Override
    public void actionPerformed(final ActionEvent e) {
        if (getOkButton().equals(e.getSource())) {
    //#SwingRestartDialog.java:103: method: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog.actionPerformed(ActionEvent)
    //#SwingRestartDialog.java:103: Warning: method not available - call not analyzed
    //#    call on JButton com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getOkButton()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void actionPerformed(ActionEvent)
    //#    unanalyzed callee: JButton com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getOkButton()
    //#input(void actionPerformed(ActionEvent)): e
    //#input(void actionPerformed(ActionEvent)): this
    //#input(void actionPerformed(ActionEvent)): this.mainFrame
    //#pre[1] (void actionPerformed(ActionEvent)): e != null
    //#pre[3] (void actionPerformed(ActionEvent)): (soft) this.mainFrame != null
    //#presumption(void actionPerformed(ActionEvent)): com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:getOkButton(...)@103 != null
    //#test_vector(void actionPerformed(ActionEvent)): java.lang.Object:equals(...)@103: {0}, {1}
            mainFrame.quit(42);
    //#SwingRestartDialog.java:104: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.MainFrame:quit(int)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void actionPerformed(ActionEvent)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.MainFrame:quit(int)
        }
        dispose();
    //#SwingRestartDialog.java:106: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:dispose()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
    //#    method: void actionPerformed(ActionEvent)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog:dispose()
    }
    //#SwingRestartDialog.java:107: end of method: void com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog.actionPerformed(ActionEvent)
    
}    //#output(com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/dialogs/updater/SwingRestartDialog]
    //#output(com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog__static_init): __Dispatch_Table.actionPerformed(Ljava/awt/event/ActionEvent;)V
    //#output(com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog__static_init): __Dispatch_Table.initComponents()V
    //#output(com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog__static_init): __Dispatch_Table.layoutComponents()V
    //#post(com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/dialogs/updater/SwingRestartDialog] == &__Dispatch_Table
    //#post(com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog__static_init): __Dispatch_Table.actionPerformed(Ljava/awt/event/ActionEvent;)V == &actionPerformed
    //#post(com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog__static_init): __Dispatch_Table.initComponents()V == &initComponents
    //#post(com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog__static_init): __Dispatch_Table.layoutComponents()V == &layoutComponents
    //#SwingRestartDialog.java:: end of method: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog.com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog__static_init
    //#SwingRestartDialog.java:: end of class: com.dmdirc.addons.ui_swing.dialogs.updater.SwingRestartDialog
