n�o sei se fui suficientemente claro na minha d�vida, eu n�o consigo retornar uma data numa String usando DateField pois d� o erro java.util.date
 
Grato pela aten��o
 
Zanona
----- Original Message -----
Sent: Tuesday, October 08, 2002 5:43 PM
Subject: Re: [j2me-list] DateField

Compare com este exemplo:
 

/*

* Copyright 2000-2002 Sun Microsystems, Inc. All rights reserved. Use is

* subject to license terms

*/

package midp.uidemo;

import javax.microedition.lcdui.*;

public class DateFieldDemo extends BaseDemo

{

public DateFieldDemo() {

    super("Date Field");

    append(new DateField("Date", DateField.DATE));

    append(new DateField("Date & Time", DateField.DATE_TIME));

}

}

 

[]'s

HJUNIOR

----- Original Message -----
From: zanona
Sent: Tuesday, October 08, 2002 08:43 AM
Subject: [j2me-list] DateField

Ol� estou desenvolvendo uma aplica��o Palm utilizando o ToolKit J2me da Sun, eu estou com o seguinte problema eu tenho que selecionar uma data e retorna-la numa string, mas quando utilizo o m�todo do componente DateField.getDate() ele me retorna erro java.util.date
 
algu�m poderia ajudar
 
 
Grato
 
Zanona
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.394 / Virus Database: 224 - Release Date: 03/10/2002

Responder a