-When I load an SVGDocument in a JSVGComponent if the image size is larger than the JSVGComponent's size it gets clipped to the display size (when I resize it afterward)...
-If I load a document when I load a Jframe (or before the frame is loaded) I get only a blank document....
Any workarounds???
Till
public class RootWindow extends JFrame{ /** * */ JSVGCanvas svgCanvas=new JSVGCanvas(); public RootWindow() {
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); svgCanvas.setURI(this.getClass().getResource("prairie.svg").toString()); //getContentPane().add(new Terrain_View(),BorderLayout.CENTER); getContentPane().add(svgCanvas); setSize(400,400); }
}
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]