Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-18-2008, 09:31 AM
Member
 
Join Date: Jul 2008
Posts: 4
Rep Power: 0
thirupathik is on a distinguished road
Default How to use SimpleDateFormat in J2ME Applications
Hi,

I am getting compilation error while using SimpleDateFormat. I have imported
java.text.SimpleDateFormat; and java.util.Date , but I don't know what's wrong.

Can anybody suggest me how to resolve this.

Thank you very much in advance.

Thiru
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 07-18-2008, 09:34 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 7,513
Rep Power: 11
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
Can you tell more about the error you get. No one knows about your error do far, and how to answering to you?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Someone helped you? their helpful post.
Help:Forums FAQ|How To Ask Questions The Smart WayResources:The Java Tutorials|Glossary for Java|NetBeans IDE|Sun DownloadsWeb:WritOnceTips:Is your IDE the best?|Which Application Server?
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 01-21-2009, 11:59 AM
Member
 
Join Date: Jan 2009
Location: India
Posts: 1
Rep Power: 0
achamswati@gmail.com is on a distinguished road
Default
hi, i am new to j2me i just want to ask which actions can be performed on fire command in canvas.
thank you.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 03-30-2009, 02:14 AM
Member
 
Join Date: Mar 2009
Posts: 10
Rep Power: 0
vogash is on a distinguished road
Default
you can't use it
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 03-31-2009, 04:39 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 7,513
Rep Power: 11
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
Originally Posted by vogash View Post
you can't use it
It's better if you can give much better explanation.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Someone helped you? their helpful post.
Help:Forums FAQ|How To Ask Questions The Smart WayResources:The Java Tutorials|Glossary for Java|NetBeans IDE|Sun DownloadsWeb:WritOnceTips:Is your IDE the best?|Which Application Server?
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 09-03-2009, 11:21 AM
Member
 
Join Date: Sep 2009
Posts: 2
Rep Power: 0
Levis is on a distinguished road
Default
Hi everyone, i just started with j2me programming. So need all your support to learn more. Right now just created a small program for email login. Please help me how to compare between the strings entered by the user for all the fields and if it does not match ,clear all the fields back to normal.please help me.
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 09-03-2009, 12:47 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 7,513
Rep Power: 11
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
Not much clear what's you question is, what you want to compare with?

In general, for string comparison equal method used, that == sign. Just doing a equal test using == sign not make sense at all. And also, once you do the validation in any way, if you want to make back to the original state we can do several things, clean-up all the control entries one of them. If you want to find a better answer on this please ask your question more clearly.

Good luck!
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Someone helped you? their helpful post.
Help:Forums FAQ|How To Ask Questions The Smart WayResources:The Java Tutorials|Glossary for Java|NetBeans IDE|Sun DownloadsWeb:WritOnceTips:Is your IDE the best?|Which Application Server?
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using SimpleDateFormat Java Tip Java Tips 1 07-18-2008 09:33 AM
Launching applications without an IDE this_is_phil New To Java 6 05-24-2008 08:54 AM
Including JAR in applications bugger New To Java 0 01-11-2008 10:36 AM
Concurrent Applications m@tqi Advanced Java 1 12-01-2007 01:09 AM
J2me kuttyniti@gmail.com Sun Java Wireless Toolkit 0 11-24-2007 07:27 AM


All times are GMT +2. The time now is 12:36 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org