Not sure what are you talking about, try giving more details
>How we can change the hour system with Java?
You want to have 10 "hours" per day?
Or do you just want to display in hh:mm 12 vs 24 hour time?
See http://mindprod.com/jgloss/calendar.html
see http://mindprod.com/products1.html#BIGDATE
for my calendar computing code. You could use it as a base to create
your own calendar, naming the months after your friends.

Signature
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes
Nanou - 06 Jul 2005 13:55 GMT
In fact, i want that my program java can change the hour in the system.
If the hour is 8:00 i want that my program set for example 10:00.
It's possible ?
Uwe Ziegenhagen - 06 Jul 2005 14:14 GMT
> In fact, i want that my program java can change the hour in the system.
> If the hour is 8:00 i want that my program set for example 10:00.
> It's possible ?
maybe by calling the respective Windows function via system().
Uwe

Signature
mail to newsgroup@ziegenhagen.info is read only from time to time. If
you need an urgent answer, google for me.
Nanou - 06 Jul 2005 14:43 GMT
Yes there is Runtime.getRuntime().exec() and the dos commande time.
But is there another way instead of call a cmd ?
Thankx
Stefan Schulz - 06 Jul 2005 19:40 GMT
> Yes there is Runtime.getRuntime().exec() and the dos commande time.
> But is there another way instead of call a cmd ?
No.

Signature
You can't run away forever,
But there's nothing wrong with getting a good head start.
--- Jim Steinman, "Rock and Roll Dreams Come Through"
Thomas Weidenfeller - 07 Jul 2005 08:25 GMT
>>Yes there is Runtime.getRuntime().exec() and the dos commande time.
>>But is there another way instead of call a cmd ?
>
> No.
Yes, via JNI and appropriate operating-system calls. If we are talking
about Windows than maybe also via a Java-COM bridge and some existing MS
COM object.
/Thomas

Signature
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/
Joan - 06 Jul 2005 19:53 GMT
> Yes there is Runtime.getRuntime().exec() and the dos commande time.
> But is there another way instead of call a cmd ?
> Thankx
If you have windows XP there is a feature that sets the clock once each
week from a precision time source via the Internet, so if you change the
time via java it might revert to something else via this mechanism.