);
f.getContentPane().add(app.createComponents());
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.setSize(400, 400);
f.setVisible(true);
}
}
-Original Message-
From: Thomas DeWeese
To: batik-dev@xml.apache.org
Sent: 1/27/2005 6:35 PM
Sub
Is there any way I can scale the swing components along the lines of SVG
elements if I choose to add Swing components to JSVGCanvas directly.
-Original Message-
From: Tonny Kohar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 9:16 PM
To: 'batik-dev@xml.apache.org'
Subject: R
Thanks for the suggestion. The problem with this approach is the swing
components will not be scalable.
I have created a class that extends AbstractGraphicsNode to display the
swing component.
public class SwingGraphicsNode
extends AbstractGraphicsNode
implements GraphicsNodeMouseListener,
Hello,
I am required to add Swing components to the SVG canvas. I want to use the
batik extensions.
The trouble I am facing is in the actual rendering class:
public class SwingGraphicsNode extends AbstractGraphicsNode
{
JTextField fComponent = new JTextField(10);
public void pr