I'm a JFC user and just made a servlet by using JFC.
Everything went smoothly when I run it on WinXP(with tomcat4.1),I saw the pie chart as what I expected.
but after
my moving the servlet into a pc based on RH-linux(with tomcat4.1),an error occured,and tomcat reminded me like this:////
root cause
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.////
I can make sure that the versions of JFC and Jcommon I used are same~~
Who can help me solve the hazard~~

Thanks a lottttt!!!