Problem with" using java.awt library in linux X11 display problem"
in
Integration and Hardware
•
1 year ago
Hey guys...I met a very annoying problem while I am trying to put a program integrated Processing on a tomcat server...I checked many solutions about this. Most of them is saying that the applet on the server side is so-called heavy weight component...But I can't shift them into client side cause I just want processing to make a picture and then send this to the client.
So I think I didn't call the applet display or some interactive operations..I don't know why I have this problem "using java.awt library in linux X11 display problem"..So if I change the tomcat setting as most of people said "-DJava.awt.headless=true", it will get into another error..Both errors show that there is a problem in Papplet.java 244 lines in the source code of processing:
static public final int MENU_SHORTCUT = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask();
Can somebody help me , I got stuck here like ages.......
So I think I didn't call the applet display or some interactive operations..I don't know why I have this problem "using java.awt library in linux X11 display problem"..So if I change the tomcat setting as most of people said "-DJava.awt.headless=true", it will get into another error..Both errors show that there is a problem in Papplet.java 244 lines in the source code of processing:
static public final int MENU_SHORTCUT = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask();
Can somebody help me , I got stuck here like ages.......
1