@SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        clusteringAlgoPanel0 = new moa.gui.clustertab.ClusteringAlgoPanel();
        clusteringEvalPanel1 = new moa.gui.clustertab.ClusteringEvalPanel();
        buttonStart = new javax.swing.JButton();
        buttonStop = new javax.swing.JButton();
        buttonExport = new javax.swing.JButton();
        buttonWeka = new javax.swing.JButton();
        buttonImportSettings = new javax.swing.JButton();
        buttonExportSettings = new javax.swing.JButton();
        logPanel = new moa.gui.TextViewerPanel();

        setLayout(new java.awt.GridBagLayout());

        clusteringAlgoPanel0.setMinimumSize(new java.awt.Dimension(335, 150));
        clusteringAlgoPanel0.setPanelTitle("Cluster Algorithm Setup");
        clusteringAlgoPanel0.setPreferredSize(new java.awt.Dimension(335, 150));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.gridwidth = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 4);
        add(clusteringAlgoPanel0, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.gridheight = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 4);
        add(clusteringEvalPanel1, gridBagConstraints);

        buttonStart.setText("Start");
        buttonStart.setPreferredSize(new java.awt.Dimension(80, 23));
        buttonStart.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonStartActionPerformed(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 4);
        add(buttonStart, gridBagConstraints);

        buttonStop.setText("Stop");
        buttonStop.setEnabled(false);
        buttonStop.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonStopActionPerformed(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 4);
        add(buttonStop, gridBagConstraints);

        buttonExport.setText("Export CSV");
        buttonExport.setEnabled(false);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 5;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
        gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 4);
        add(buttonExport, gridBagConstraints);

        buttonWeka.setText("Weka Explorer");
        buttonWeka.setEnabled(false);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
        gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 4);
        add(buttonWeka, gridBagConstraints);

        buttonImportSettings.setText("Import");
        buttonImportSettings.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonImportSettingsActionPerformed(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
        gridBagConstraints.insets = new java.awt.Insets(4, 75, 4, 4);
        add(buttonImportSettings, gridBagConstraints);

        buttonExportSettings.setText("Export");
        buttonExportSettings.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonExportSettingsActionPerformed(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 3;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
        gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 4);
        add(buttonExportSettings, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 5;
        gridBagConstraints.gridwidth = 7;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.weightx = 1.0;
        gridBagConstraints.weighty = 1.0;
        gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 4);
        add(logPanel, gridBagConstraints);
    }
@ SuppressWarnings ( "unchecked" ) private void initComponents ( ) { java . awt . GridBagConstraints gridBagConstraints ; clusteringAlgoPanel0 = new moa . gui . clustertab . ClusteringAlgoPanel ( ) ; clusteringEvalPanel1 = new moa . gui . clustertab . ClusteringEvalPanel ( ) ; buttonStart = new javax . swing . JButton ( ) ; buttonStop = new javax . swing . JButton ( ) ; buttonExport = new javax . swing . JButton ( ) ; buttonWeka = new javax . swing . JButton ( ) ; buttonImportSettings = new javax . swing . JButton ( ) ; buttonExportSettings = new javax . swing . JButton ( ) ; logPanel = new moa . gui . TextViewerPanel ( ) ; setLayout ( new java . awt . GridBagLayout ( ) ) ; clusteringAlgoPanel0 . setMinimumSize ( new java . awt . Dimension ( 335 , 150 ) ) ; clusteringAlgoPanel0 . setPanelTitle ( "Cluster Algorithm Setup" ) ; clusteringAlgoPanel0 . setPreferredSize ( new java . awt . Dimension ( 335 , 150 ) ) ; gridBagConstraints = new java . awt . GridBagConstraints ( ) ; gridBagConstraints . gridx = 0 ; gridBagConstraints . gridy = 0 ; gridBagConstraints . gridwidth = 4 ; gridBagConstraints . fill = java . awt . GridBagConstraints . HORIZONTAL ; gridBagConstraints . anchor = java . awt . GridBagConstraints . NORTHWEST ; gridBagConstraints . insets = new java . awt . Insets ( 4 , 4 , 4 , 4 ) ; add ( clusteringAlgoPanel0 , gridBagConstraints ) ; gridBagConstraints = new java . awt . GridBagConstraints ( ) ; gridBagConstraints . gridx = 4 ; gridBagConstraints . gridy = 0 ; gridBagConstraints . gridwidth = 2 ; gridBagConstraints . gridheight = 4 ; gridBagConstraints . fill = java . awt . GridBagConstraints . BOTH ; gridBagConstraints . anchor = java . awt . GridBagConstraints . NORTHWEST ; gridBagConstraints . insets = new java . awt . Insets ( 4 , 4 , 4 , 4 ) ; add ( clusteringEvalPanel1 , gridBagConstraints ) ; buttonStart . setText ( "Start" ) ; buttonStart . setPreferredSize ( new java . awt . Dimension ( 80 , 23 ) ) ; buttonStart . addActionListener ( new java . awt . event . ActionListener ( ) { public void actionPerformed ( java . awt . event . ActionEvent evt ) { buttonStartActionPerformed ( evt ) ; } } ) ; gridBagConstraints = new java . awt . GridBagConstraints ( ) ; gridBagConstraints . gridx = 0 ; gridBagConstraints . gridy = 4 ; gridBagConstraints . anchor = java . awt . GridBagConstraints . WEST ; gridBagConstraints . insets = new java . awt . Insets ( 4 , 4 , 4 , 4 ) ; add ( buttonStart , gridBagConstraints ) ; buttonStop . setText ( "Stop" ) ; buttonStop . setEnabled ( false ) ; buttonStop . addActionListener ( new java . awt . event . ActionListener ( ) { public void actionPerformed ( java . awt . event . ActionEvent evt ) { buttonStopActionPerformed ( evt ) ; } } ) ; gridBagConstraints = new java . awt . GridBagConstraints ( ) ; gridBagConstraints . gridx = 1 ; gridBagConstraints . gridy = 4 ; gridBagConstraints . anchor = java . awt . GridBagConstraints . WEST ; gridBagConstraints . insets = new java . awt . Insets ( 4 , 4 , 4 , 4 ) ; add ( buttonStop , gridBagConstraints ) ; buttonExport . setText ( "Export CSV" ) ; buttonExport . setEnabled ( false ) ; gridBagConstraints = new java . awt . GridBagConstraints ( ) ; gridBagConstraints . gridx = 5 ; gridBagConstraints . gridy = 4 ; gridBagConstraints . anchor = java . awt . GridBagConstraints . EAST ; gridBagConstraints . insets = new java . awt . Insets ( 4 , 4 , 4 , 4 ) ; add ( buttonExport , gridBagConstraints ) ; buttonWeka . setText ( "Weka Explorer" ) ; buttonWeka . setEnabled ( false ) ; gridBagConstraints = new java . awt . GridBagConstraints ( ) ; gridBagConstraints . gridx = 4 ; gridBagConstraints . gridy = 4 ; gridBagConstraints . anchor = java . awt . GridBagConstraints . EAST ; gridBagConstraints . insets = new java . awt . Insets ( 4 , 4 , 4 , 4 ) ; add ( buttonWeka , gridBagConstraints ) ; buttonImportSettings . setText ( "Import" ) ; buttonImportSettings . addActionListener ( new java . awt . event . ActionListener ( ) { public void actionPerformed ( java . awt . event . ActionEvent evt ) { buttonImportSettingsActionPerformed ( evt ) ; } } ) ; gridBagConstraints = new java . awt . GridBagConstraints ( ) ; gridBagConstraints . gridx = 2 ; gridBagConstraints . gridy = 4 ; gridBagConstraints . anchor = java . awt . GridBagConstraints . EAST ; gridBagConstraints . insets = new java . awt . Insets ( 4 , 75 , 4 , 4 ) ; add ( buttonImportSettings , gridBagConstraints ) ; buttonExportSettings . setText ( "Export" ) ; buttonExportSettings . addActionListener ( new java . awt . event . ActionListener ( ) { public void actionPerformed ( java . awt . event . ActionEvent evt ) { buttonExportSettingsActionPerformed ( evt ) ; } } ) ; gridBagConstraints = new java . awt . GridBagConstraints ( ) ; gridBagConstraints . gridx = 3 ; gridBagConstraints . gridy = 4 ; gridBagConstraints . anchor = java . awt . GridBagConstraints . EAST ; gridBagConstraints . insets = new java . awt . Insets ( 4 , 4 , 4 , 4 ) ; add ( buttonExportSettings , gridBagConstraints ) ; gridBagConstraints = new java . awt . GridBagConstraints ( ) ; gridBagConstraints . gridx = 0 ; gridBagConstraints . gridy = 5 ; gridBagConstraints . gridwidth = 7 ; gridBagConstraints . fill = java . awt . GridBagConstraints . BOTH ; gridBagConstraints . weightx = 1.0 ; gridBagConstraints . weighty = 1.0 ; gridBagConstraints . insets = new java . awt . Insets ( 4 , 4 , 4 , 4 ) ; add ( logPanel , gridBagConstraints ) ; }
This method is called from within the constructor to
initialize the form.
WARNING: Do NOT modify this code. The content of this method is
always regenerated by the Form Editor.