"Lorenzo Medici" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hi list > > We have ported a web-application from a windows base tomcat installation to > a macosX 10.3.4 (java 1.4.2 tomcat v. ) installation. Under mac os we have > now a strange behabiour... > > When we create a instace of a JEditorPane we run into the error > "...internalError Can't connect to window server Not enougth permissions." > We need this JEditorPane for detect how many characters is in a RTF File...
Just use: System.setProperty("java.awt.headless", "true"); :-), Oli --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]