Package net.sourceforge.squirrel_sql.fw.gui

Examples of net.sourceforge.squirrel_sql.fw.gui.PropertyPanel


            // i18n[sqlbookmark.qureyParams=Query Parameters]
            JDialog dialog = new JDialog(frame, s_stringMgr.getString("sqlbookmark.qureyParams"), true);
            Container contentPane = dialog.getContentPane();
            contentPane.setLayout(new BorderLayout());

            PropertyPanel propPane = new PropertyPanel();
            contentPane.add(propPane, BorderLayout.CENTER);

            for (idx = 0; idx < parameters.size(); idx++) {
                Parameter parameter = parameters.get(idx);

                JLabel label = new JLabel(parameter.prompt + ":",
                        SwingConstants.RIGHT);
                if (parameter.tip != null)
                    label.setToolTipText(parameter.tip);

                JTextField value = new JTextField(20);
                propPane.add(label, value);

                parameter.value = value;
            }

            JPanel actionPane = new JPanel();
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.fw.gui.PropertyPanel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.