Regarding the orginial message, in the final 1.5 release, will this be an option we
can set?
For now, in my subclass, I just commented out everything in setMySize(), so
that the method does nothing. Is this OK? Or should I just comment out the following:
Container p = getParent();
while (p != null) {
if (p instanceof Window) {
Window w = (Window) p;
w.pack();
break;
}
-Shawn
-----Original Message-----
From: Thomas E Deweese [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 7:59 AM
To: Batik Users
Cc: [EMAIL PROTECTED]
Subject: RE: Batik 1.5beta5 available
Yup, the JSVGComponent (base class of JSVGCanvas) when it
loads a document set's it's preferred size, and tries to find it's
parent Window and call's 'pack'. Probably this needs to be controlled
by a 'user' option (you being the user). This is currently done in
'setMySize()' in JSVGComponent. You should be able to create a small
subclass that does not do this.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]