Hi
My time zone is set as
root_juliet# echo $TZ
Australia/NSW
However, tomcat appears to want to use the EDT timezone;
from tomcat log;
root_juliet# 07:34:29 EDT - ContextManager: Adding context Ctx( /onsale )
07:34:29 EDT - ContextManager: Adding context Ctx( /examples )
Starting tomcat...
Consider the following simple java app;
import java.util.*;
class wtfDate {
public static void main(String arguments[]){
TimeZone timeZone = TimeZone.getDefault();
System.out.println("TimeZone="+timeZone.getID());
}
}
when run on my australian based box i get...
Should anyone ever be interested, I posted this question on forum.java.sun.com in the swing forum and got to the bottom of the problem eventually.
The strange behaviour was caused by mixing swing components ( the JComboBox ) with the basic awt applet class.
The problem went away when i...
I'm having trouble getting a basic JComboBox control to drop down and display its contents for selection if its got 3 or less elements. If it contains 4 then it drops down as expected.
I say basic, as all i do is create the JComboBox by passing it a vector.
JComboLocation = new JComboBox(v)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.