Click here to Skip to main content
15,892,059 members
Home / Discussions / Java
   

Java

 
GeneralRe: Pattern Pin
Richard MacCutchan17-Feb-14 21:30
mveRichard MacCutchan17-Feb-14 21:30 
GeneralRe: Pattern Pin
chronodekar18-Feb-14 3:40
chronodekar18-Feb-14 3:40 
AnswerRe: Pattern Pin
jschell14-Feb-14 10:30
jschell14-Feb-14 10:30 
GeneralRe: Pattern Pin
V$ethi15-Feb-14 5:07
V$ethi15-Feb-14 5:07 
QuestionHow to encrypt old data instead of using jasyptHibernateEncryptorin Pin
Member 1058731510-Feb-14 21:50
Member 1058731510-Feb-14 21:50 
QuestionSystem timezone Pin
Hans Ruck9-Feb-14 22:06
Hans Ruck9-Feb-14 22:06 
AnswerRe: System timezone Pin
Richard MacCutchan9-Feb-14 22:47
mveRichard MacCutchan9-Feb-14 22:47 
GeneralRe: System timezone Pin
Hans Ruck9-Feb-14 23:20
Hans Ruck9-Feb-14 23:20 
Thank you Richard. But try this and you will see what I mean:
Java
TimeZone tz = Calendar.getInstance().getTimeZone();  
System.out.println(tz.getDisplayName());
System.out.println(tz.getID());

tz = Calendar.getInstance().getTimeZone();   // breakpoint here, stop, change the system time zone and then continue running
System.out.println(tz.getDisplayName());
System.out.println(tz.getID());

The time zone is set at the beginning of the current JVM process. It is subsequently detached from the system time zone and it sadly seems that there is no orthodox way to reattach it...
Bogdan Rechi.

GeneralRe: System timezone Pin
Richard MacCutchan10-Feb-14 0:06
mveRichard MacCutchan10-Feb-14 0:06 
AnswerRe: System timezone Pin
jschell10-Feb-14 8:18
jschell10-Feb-14 8:18 
GeneralRe: System timezone Pin
Bernhard Hiller10-Feb-14 21:34
Bernhard Hiller10-Feb-14 21:34 
GeneralRe: System timezone Pin
jschell11-Feb-14 11:10
jschell11-Feb-14 11:10 
GeneralRe: System timezone Pin
Bernhard Hiller11-Feb-14 20:14
Bernhard Hiller11-Feb-14 20:14 
GeneralRe: System timezone Pin
Richard MacCutchan11-Feb-14 21:56
mveRichard MacCutchan11-Feb-14 21:56 
GeneralRe: System timezone Pin
jschell12-Feb-14 9:16
jschell12-Feb-14 9:16 
GeneralRe: System timezone Pin
Richard MacCutchan13-Feb-14 2:53
mveRichard MacCutchan13-Feb-14 2:53 
QuestionJava Code for Filling in Random Radio Buttons Pin
Romahn Graham6-Feb-14 4:08
Romahn Graham6-Feb-14 4:08 
GeneralRe: Java Code for Filling in Random Radio Buttons Pin
Richard MacCutchan6-Feb-14 6:20
mveRichard MacCutchan6-Feb-14 6:20 
Questiondatabase for sudoku game Pin
Member 105666313-Feb-14 20:49
Member 105666313-Feb-14 20:49 
AnswerRe: database for sudoku game Pin
Richard MacCutchan3-Feb-14 21:58
mveRichard MacCutchan3-Feb-14 21:58 
QuestionHow to get Content Pane for a JPanel ? Pin
chdboy3-Feb-14 18:43
chdboy3-Feb-14 18:43 
Questionmultiplatform systems peer to peer LAN Mesengger Pin
Member 105671503-Feb-14 18:17
Member 105671503-Feb-14 18:17 
SuggestionRe: multiplatform systems peer to peer LAN Mesengger Pin
Richard MacCutchan3-Feb-14 21:57
mveRichard MacCutchan3-Feb-14 21:57 
GeneralRe: multiplatform systems peer to peer LAN Mesengger Pin
Member 105671505-Feb-14 17:13
Member 105671505-Feb-14 17:13 
GeneralRe: multiplatform systems peer to peer LAN Mesengger Pin
Richard MacCutchan5-Feb-14 22:25
mveRichard MacCutchan5-Feb-14 22:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.