Thanks,
Actually i am running a class (basically sub-class of JFrame) & generating a report displayed in that window, this window has a funtionality to generate a csv file & save it to defined location. The report is generated once in a day at particular time & when i running it at the server(unix box) it throws the error. But it works fine when i run it in my local machine. I am turning off the display option when running remotely, so that it will only create a csv file & saves.
Just wanted to know is there a way i can avoid this thing, like some validation in my code which will overlook this exception or which will not raise this exception.
Thanks in Advance
Willy
how do i avoid this exception? It always throws this exception when i try to run it remotely. From the above link i found out that it's the display prop which is responsible for it ,since heavyweights use native interface for display.
It always throws exception at the constructor, is there a way to avoid this thing from my code or set the prop remotely. I have tried couple of things like setProperty to true for headless mode & so.. but its not working.
It's sub-class of JFrame & display for it turned off when running it remotely. Basically it produces a report in tabular form & from it i trying to generate CSV file & save to specified location. It runs fine in local.
Can anybody help with this, its urgent?
Thanks in Advance
Willy