Examples of MJTextField


Examples of com.valhalla.gui.MJTextField

     *  Sets up visual components
     */
    private void initComponents() {
        setContentPane(container);
        buddyGroups = new JComboBox(getRosterGroups());
        newGroupBox = new MJTextField(15);
        newGroupBox.setText(resources.getString("newGroup"));
        newGroupBox.setEnabled(false);

        //add the handlers
        cancelButton.addActionListener(new ActionHandler());
View Full Code Here

Examples of com.valhalla.gui.MJTextField

    private void addSoundBox(String settingName, String labelName) {
        c.anchor = GridBagConstraints.WEST;
        settingNames[current] = settingName;
        soundLabels[current] = new JLabel(labelName + " ");
        soundPlay[current] = new JCheckBox();
        soundBoxes[current] = new MJTextField(12);
        soundButtons[current] = new JButton(resources.getString("browse"));
        testButtons[current] = new JButton(Standard
                .getIcon("images/buttons/Play24.gif"));
        testButtons[current].setPreferredSize(new Dimension(24, 24));
View Full Code Here

Examples of com.valhalla.gui.MJTextField

        c.gridx = 0;
        c.anchor = GridBagConstraints.EAST;
        grid.setConstraints(labelBox, c);
        inputPanel.add(labelBox);

        JTextField box = new MJTextField(15);
        if (label.equals("password")) {
            box = new JPasswordField(15);
            box.setFont(labelBox.getFont());
        }

        if (value != null)
            box.setText(value);
        fieldListFields.add(box);

        c.gridx = 1;
        c.anchor = GridBagConstraints.WEST;
        grid.setConstraints(box, c);
View Full Code Here

Examples of com.valhalla.gui.MJTextField

class PrivateField extends Field {
    public PrivateField(FormField field) {
        super(field);
        rightComp = new JPasswordField(15);
        ((JPasswordField) rightComp).setText(getFirstValue());
        ((JPasswordField) rightComp).setFont(new MJTextField().getFont());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.