Hi Andreas, Thanks for the info and references. It looks like I will have to try to combine some Swing widgets with the SVG canvas if possible as suggested.
-JCT > -----Original Message----- > From: Andreas Neumann [mailto:[EMAIL PROTECTED] > Sent: Friday, 17 October 2008 08:24 > To: [email protected] > Subject: Re: Text entry field? > > Hi John, > > I just tested the current SVN version and I think editable text doesn't > yet work in Batik. As far as I know Opera >9.5 is the only browser > implementing editable text. As an example, see > http://www.w3.org/Graphics/SVG/Test/20080912/svggen/text-edit-201-t.svg > > I once wrote a SVG textbox control (with Javascript). You can find an > example at http://www.carto.net/papers/svg/gui/textbox/index.svg > and the documentation on how to invoke a textbox at > http://www.carto.net/papers/svg/gui/textbox/ > > You can also find some other GUI controls at > http://www.carto.net/papers/svg/samples/#iact > > However, if you only develop for the JAVA platform it is probably > better/easier to use the Java SWING widgets or whatever is current > nowadays. You should be able to mix swing and SVG canvases. > > Hope this helps, > Andreas > > John C. Turnbull wrote: > > Hmm, I tried the example in the specification and it doesn't work. > It > > renders the field but I cannot enter any text into it. > > > > Could someone confirm whether this is supported in Batik? > > > > Thanks, > > > > -JCT > > > > > >> -----Original Message----- > >> From: Helder Magalhães [mailto:[EMAIL PROTECTED] > >> Sent: Friday, 17 October 2008 00:43 > >> To: [email protected] > >> Subject: Re: Text entry field? > >> > >> > >>> Is it possible to implement something like a text entry field with > a > >>> blinking caret in Batik? How? > >>> > >> This functionality is part of (recent version of the) SVG > >> specification [1] and, AFAIK, Batik implements it. ;-) > >> I'm not sure about the blinking caret thing, though... > >> > >> Hope this helps, > >> > >> Helder Magalhães > >> > >> [1] http://www.w3.org/TR/SVGMobile12/text.html#text-edit > >> > >> -------------------------------------------------------------------- > - > >> To unsubscribe, e-mail: batik-users- > [EMAIL PROTECTED] > >> For additional commands, e-mail: batik-users- > >> [EMAIL PROTECTED] > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: batik-users- > [EMAIL PROTECTED] > > For additional commands, e-mail: batik-users- > [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: batik-users- > [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
