Oliver76
Programmer
- Oct 2, 2001
- 60
gud day...
i've been having problem on how to format my date to mmm-dd-yyyy. in vb6 i do it like this........... txt1.text = format(txt1,"mmm-dd-yyyy")
(i will put this in my applet)
heres my code in java:
public void paint(Graphics g) {
g.setFont(theFont); // theFont my var setup earlier
g.drawString(theDate.toString(),30,100); // theDate as well
but it gives me long date, and an "SGT" which i dont know what it means... hehehehe
tnx a lot in advance....
i've been having problem on how to format my date to mmm-dd-yyyy. in vb6 i do it like this........... txt1.text = format(txt1,"mmm-dd-yyyy")
(i will put this in my applet)
heres my code in java:
public void paint(Graphics g) {
g.setFont(theFont); // theFont my var setup earlier
g.drawString(theDate.toString(),30,100); // theDate as well
but it gives me long date, and an "SGT" which i dont know what it means... hehehehe
tnx a lot in advance....