On Wed, 2 Mar 2011, ARoy wrote:
We are trying to generate excel files on AS400 using POI
While most of the functionality is working we have run into an issues with
autoSizeColumn.

Exception in thread "main" java.lang.InternalError: Can't connect to X11 window

Please see the big warning in the quick guide:
    http://poi.apache.org/spreadsheet/quick-guide.html#Autofit

(Auto sizing columns requires font calculations to work out the text size, and the requires that java initialise a graphics environment of sorts)

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to