Search in sources :

Example 1 with DateField

use of com.moneychanger.ui.custom.DateField in project otapij by FellowTraveler.

the class ProposePaymentDialog method initDateComponent.

private void initDateComponent() {
    dateField = new DateField();
    dateField.setBounds(0, -10, 250, 30);
    jPanel1.add(dateField);
    jPanel1.setBorder(null);
    repaint();
    SwingUtilities.invokeLater(new Runnable() {

        public void run() {
        //calendarpanel = CalendarFactory.createDatePanel();
        }
    });
}
Also used : DateField(com.moneychanger.ui.custom.DateField)

Example 2 with DateField

use of com.moneychanger.ui.custom.DateField in project otapij by FellowTraveler.

the class OTWriteCheque method initDateComponent.

private void initDateComponent() {
    dateField = new DateField();
    dateField.setBounds(0, -10, 250, 30);
    jPanel1.add(dateField);
    jPanel1.setBorder(null);
    repaint();
    SwingUtilities.invokeLater(new Runnable() {

        public void run() {
        //calendarpanel = CalendarFactory.createDatePanel();
        }
    });
    jTextArea1.setLineWrap(true);
    nymMap = new NYM().loadNYM();
    Helpers.populateCombo(nymMap, jComboBox1);
/*jPanel1.setLayout(new FlowLayout());
        jPanel1.add(calendarpanel);
        jPanel1.repaint();
        System.out.println("IIIi");*/
}
Also used : NYM(com.moneychanger.core.NYM) DateField(com.moneychanger.ui.custom.DateField)

Aggregations

DateField (com.moneychanger.ui.custom.DateField)2 NYM (com.moneychanger.core.NYM)1