Re: Using SVG in J2ME

[email protected]
Newsgroups gmane.comp.java.sun.kvm
Message-ID <26767234.433661186658879781.JavaMail.tomcat@sdcst12.sjc.collab.net>
Hi,

Please also see my other response:

http://forums.java.net/jive/thread.jspa?threadID=29559&tstart=0

SVG images are drawn on a Canvas and lcdui widgets are based on Forms and unfortunately you cannot mix the two approaches easily.

You could build a MIDP 2.0 CustomItem that displays a SVG image and layout that CustomItem on a Form together with lcdui elements such as TextField. However, the standard MIDP layout manager will prevent these elements from overlapping and so the results may not be very visually appealing.

If you really want a full-blown SVG-based look & feel you will need to create SVG-based widgets for all the functionality you need and skip lcdui altogether.

-- Terrence
[Message sent by forum member 'terrencebarr' (terrencebarr)]

http://forums.java.net/jive/thread.jspa?messageID=230225

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.