Re: Dynamic jdbTextField updating on a frame
Posted By:
Dan_Behrens
Posted On:
Saturday, January 22, 2005 04:48 PM
I guess I'll have to answer it myself...glad this wasn't urgent
Here's the solution:
void jdbTextField11_focusLost(FocusEvent e) {
Date now= new Date();
this.jdbTextField68.setText
(DateFormat.getDateTimeInstance(DateFormat.SHORT,
DateFormat.LONG).format(now));
this.jdbTextField68.repaint();
}
The setText accepts the new value and the repaint displays
the new value on the Frame.