That's strange. Your (earlier) exception stacktrace shows that this piece of code is
called through some Swing component. Does cs.Main class render this UI?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129099#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...