943,552 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 1251
  • Java RSS
Dec 9th, 2008
0

Name the Swing Component with Date and Time

Expand Post »
HI Folks ,

Any one Here Name The Java Swing Component with "Date and Time Instance"?

Thankq
Sekhar
Similar Threads
Reputation Points: 10
Solved Threads: 1
Light Poster
babusek is offline Offline
28 posts
since Oct 2008
Dec 9th, 2008
0

Re: Name the Swing Component with Date and Time

I would call him 'Roger'. or 'Danny' sounds nice too.
I take it you have something in a GUI presented that displays time and date. unless you believe us to be clairvoyants, you might want to explain a bit more of what it is you're talking about.

if this is a school task, or something like that (which I believe it is) you might also input YOUR idea of what it is, since you're the one supposed to be learning about it. we're not supposed to hand you down the sollutions (God once tried that with the ten commandments, look how that turned out), we are willing though to help you correct and understand your mistakes.
Reputation Points: 919
Solved Threads: 353
Nearly a Posting Maven
stultuske is offline Offline
2,471 posts
since Jan 2007
Dec 9th, 2008
0

Re: Name the Swing Component with Date and Time

I think he is trying to create calendar object as we know from websites. Unfortunately for you babusek there is no such pre-made component in AWT or Swing. You best chances are to deploy 3 combo boxes and after user selection read values of selected indexes.

PS: I would arrange them in following manner YYYY-MM-DD as this will make easier to get correct count of days in the month. However final arrangement are yours
PS2: You may download already existing solution by others, by I do not think your teacher will approve of it
Last edited by peter_budo; Dec 9th, 2008 at 6:37 am.
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 871
Code tags enforcer
peter_budo is offline Offline
6,653 posts
since Dec 2004
Dec 9th, 2008
0

Re: Name the Swing Component with Date and Time

Thanks for your Replies ,
Let me Explain the Question Clearly , and it is not an Assignment also.
we have a several swing components like button , textfiled etc....
and i would like to know is there any swing component(as like button , textfield) through which we can select both date and time.
i googled but i didn't get that , and i found that there is no such component exists in any jdk version.
And iam asking u guys tell me is there any swing component or any alternative ways to solve my problem.....
Reputation Points: 10
Solved Threads: 1
Light Poster
babusek is offline Offline
28 posts
since Oct 2008
Dec 9th, 2008
0

Re: Name the Swing Component with Date and Time

And you were already told, no.
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: protocol programme.
Next Thread in Java Forum Timeline: How to Add Container to a Container





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC