I have this working but I'm not getting a very good match between what is seen in the JTextArea and what is seen once I transfer it to the SVGCanvas? The fonts on the canvas are always a bit (or more) heavier in weight and so the corresponding strings are longer. This can make them wrap differently between the JTextArea and SVGCanvas.
Any suggestions? Phil On 11/20/06, Urs Reupke <[EMAIL PROTECTED]> wrote:
Hi Phil, >> What would be a lot easier would be to take the text and >> put it in a JTextArea component. > I can add a JTextArea to an SVGCanvas? I'm not sure that's possible. What you can do, however, is using the JGlassPane as an overlay over your canvas add the JTextComponent there. Unfortunately, I don't use that method any longer, so I can't provide you with code samples, but I'm sure someone else can help you out. -Urs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Visit http://www.darkisle.com for photos of castles, cairns and other historic sites in the British Isles.
