Below is how I set up my JFormattedTExtField.
The database (derby) will take the format no prob.
The db will then change the form to yyyy-MM-dd
If I follow that format from begining to end the JFormatted Field
will be fine.
However, when a date is queried from the database and put back to
the field nothing shows becaue the formats are now different.
so it goes in fine the way I set it up.but I need it to output it
in a format I am comforable with MM/dd/yyyy.
is there a way to do this?
CLASS
public class FormattedDateField extends JFormattedTextField implements ActionListener, Serializable{:
-->public FormattedDateField(Wed May 11 06:00:04 CDT 2011) var: ((Date date))<--
: : caller
--> : DefaultFormatterFactory() : var: xxxx : xxxxxxx <--
--> in public FormattedDateField() var: xxxxxxxxx : xxxxxxxx<--
CLASS
public class FormattedDateField extends JFormattedTextField implements ActionListener, Serializable{:
--> in public FormattedDateField() var: xxxxxxxxx : xxxxxxxx<--
: ##-##-####: MASKFORMAT:
CLASS
public class FormattedDateField extends JFormattedTextField implements ActionListener, Serializable{:
--> in public FormattedDateField() var: xxxxxxxxx : xxxxxxxx<--
: MM-dd-yyyy: SIMPLEDATEFORMATMASK:
--> in public static synchronized ResourceBundle getResources() var: xxxxxxxxx : xxxxxxxx<--
--> in public JFormattedTextField fieldSetup(INSTR_DOB) var: (String fieldName)<--
-->public FormattedDateField(Wed May 11 06:00:04 CDT 2011) var: ((Date date))<--
CLASS
public class FormattedDateField extends JFormattedTextField implements ActionListener, Serializable{:
-->public FormattedDateField(Wed May 11 06:00:04 CDT 2011) var: ((Date date))<--
: ##-##-####: MASKFORMAT:
CLASS
public class FormattedDateField extends JFormattedTextField implements ActionListener, Serializable{:
-->public FormattedDateField(Wed May 11 06:00:04 CDT 2011) var: ((Date date))<--
: MM-dd-yyyy: SIMPLEDATEFORMATMASK: