I have an existing application that is a JWindow/JFrame (doesn't matter which). 
Whenever I try to add Batik, which is a JFrame it generates:

Exception in thread "main" java.lang.IllegalArgumentException: adding a>window to a 
container *

because you cannot add a JFrame to a JFrame or JWindow. Now I know the work around is 
to use JInternalFrames, but that means rewriting my entire existing application. Is 
there any other way to integrate a Batik Viewer as a JPanel or other type of component?

thanks
Neil


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to