GephiPluginsVis/FilterPluginExample/src/org/gephi/plugins/example/filter/TopNodesFilterPanel.java
/** 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.
     */
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.
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 .
@SuppressWarnings("unchecked")
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;
        jLabel1 = new javax.swing.JLabel();
        topSpinner = new javax.swing.JSpinner();
        setLayout(new java.awt.GridBagLayout());
        jLabel1.setText("Top:"); 
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.insets = new java.awt.Insets(5, 10, 5, 0);
        add(jLabel1, gridBagConstraints);
        topSpinner.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(1), Integer.valueOf(1), null, Integer.valueOf(1)));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.weightx = 1.0;
        gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 10);
        add(topSpinner, gridBagConstraints);
    }
@ SuppressWarnings ( "unchecked" ) private void initComponents ( ) { java . awt . GridBagConstraints gridBagConstraints ; jLabel1 = new javax . swing . JLabel ( ) ; topSpinner = new javax . swing . JSpinner ( ) ; setLayout ( new java . awt . GridBagLayout ( ) ) ; jLabel1 . setText ( "Top:" ) ; gridBagConstraints = new java . awt . GridBagConstraints ( ) ; gridBagConstraints . gridx = 0 ; gridBagConstraints . gridy = 0 ; gridBagConstraints . insets = new java . awt . Insets ( 5 , 10 , 5 , 0 ) ; add ( jLabel1 , gridBagConstraints ) ; topSpinner . setModel ( new javax . swing . SpinnerNumberModel ( Integer . valueOf ( 1 ) , Integer . valueOf ( 1 ) , null , Integer . valueOf ( 1 ) ) ) ; gridBagConstraints = new java . awt . GridBagConstraints ( ) ; gridBagConstraints . gridx = 1 ; gridBagConstraints . gridy = 0 ; gridBagConstraints . fill = java . awt . GridBagConstraints . HORIZONTAL ; gridBagConstraints . weightx = 1.0 ; gridBagConstraints . insets = new java . awt . Insets ( 5 , 5 , 5 , 10 ) ; add ( topSpinner , gridBagConstraints ) ; }
This method is called from within the constructor to
 initialize the form.
This method is called from within the constructor to initialize the form .
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents // NOI18N