Package com.nexirius.framework.swing

Examples of com.nexirius.framework.swing.CFJTextField


    /**
     * Create the actual text field
     */
    public void create() {
        CFJTextField textField = new CFJTextField(this.getFactory().getClientResource(), getDataModel().getFieldName());

        textField.setBackground(SystemColor.text);
        setJComponent(textField);
        initListeners();
        update();

        Dimension preferredSize = textField.getPreferredSize();

        if (preferredSize.width < MIN_WIDTH) {
            preferredSize.width = MIN_WIDTH;
            textField.setPreferredSize(preferredSize);
        }
    }
View Full Code Here

TOP

Related Classes of com.nexirius.framework.swing.CFJTextField

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.