|
What this is
Other links
The source code/* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun * Microsystems, Inc. All Rights Reserved. */ package org.netbeans.modules.web.project.ui.customizer; import org.openide.util.NbBundle; public class AddFilter extends javax.swing.JPanel { /** Creates new form AddFilter */ public AddFilter() { initComponents(); this.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(CustomizerGeneral.class, "ACS_AddFilterDialog_A11YDesc")); //NOI18N } /** 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. */ private void initComponents() {//GEN-BEGIN:initComponents java.awt.GridBagConstraints gridBagConstraints; jLabelExpression = new javax.swing.JLabel(); jTextFieldExpression = new javax.swing.JTextField(); setLayout(new java.awt.GridBagLayout()); setPreferredSize(new java.awt.Dimension(300, 47)); jLabelExpression.setDisplayedMnemonic(java.util.ResourceBundle.getBundle("org/netbeans/modules/web/project/ui/customizer/Bundle").getString("LBL_AddFilter_Expression_LabelMnemonic").charAt(0)); jLabelExpression.setLabelFor(jTextFieldExpression); jLabelExpression.setText(NbBundle.getMessage(AddFilter.class, "LBL_AddFilter_Expression_JLabel")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.insets = new java.awt.Insets(12, 12, 11, 11); add(jLabelExpression, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 1.0; gridBagConstraints.weighty = 1.0; gridBagConstraints.insets = new java.awt.Insets(12, 0, 11, 11); add(jTextFieldExpression, gridBagConstraints); jTextFieldExpression.getAccessibleContext().setAccessibleDescription(java.util.ResourceBundle.getBundle("org/netbeans/modules/web/project/ui/customizer/Bundle").getString("ACS_AddFilter_Expression_A11YDesc")); }//GEN-END:initComponents // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JLabel jLabelExpression; private javax.swing.JTextField jTextFieldExpression; // End of variables declaration//GEN-END:variables protected String getExpression() { String exp = jTextFieldExpression.getText().trim(); jTextFieldExpression.setText(""); //NOI18N return exp; } } |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.