Package jp.go.aist.sot.client.gui

Examples of jp.go.aist.sot.client.gui.NumericField


        setBorder(border);

        termTitle = new JLabel(mh.getMessage("term_title"));
        termTitle.setForeground(GUIConstants.TITLE_FOREGROUND_COLOR);

        daysField = new NumericField(new LimitedDocument(3), null, 3);
        daysField.setHorizontalAlignment(SwingConstants.RIGHT);
        model = daysField.getDocument();
        model.addDocumentListener(new DocumentAdapter(daysField, controller));
        daysUnitTitle = new JLabel(mh.getMessage("days_unit_title"));
        daysUnitTitle.setForeground(GUIConstants.TITLE_FOREGROUND_COLOR);

        hoursField = new NumericField(new LimitedDocument(3), null, 3);
        hoursField.setHorizontalAlignment(SwingConstants.RIGHT);
        model = hoursField.getDocument();
        model.addDocumentListener(new DocumentAdapter(hoursField, controller));
        hoursUnitTitle = new JLabel(mh.getMessage("hours_unit_title"));
        hoursUnitTitle.setForeground(GUIConstants.TITLE_FOREGROUND_COLOR);
View Full Code Here

TOP

Related Classes of jp.go.aist.sot.client.gui.NumericField

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.