[prev in list] [next in list] [prev in thread] [next in thread] 

List:       batik-dev
Subject:    Re: Batik and windows mobile
From:       aiolos_ <aiolos.01 () gmail ! com>
Date:       2008-04-02 15:44:46
Message-ID: 16447319.post () talk ! nabble ! com
[Download RAW message or body]




Cameron McCormack-4 wrote:
> 
> I think we will need to see the exact exception to get an idea about
> what's going on.  
> 

At first it can't find the java.awt.geom.AffineTransform class, so I add it
from Sun's Java SE 1.6. Maybe I should add the classes from Sun's Java ME
but I don't know if it has all the needed classes since I've never used it.
Then it needs Java.awt.event.MouseWheelListener so I add it as well.
And then I get :
java.lang.NoSuchMethodError: org.apache.batik.swing.gvt.JGVTComponent:
method addMouseWheelListener(Ljava/awt/event/MouseWheelListener;)V not found

It's obvious that the MouseWheelListener from java SE doesn't work.
I can think of two things to do. The first is to see if MouseWheelListener
from java ME (if it exists) would work and the second would be to disable
mouse wheel functionality in Batik since I don't need it anyway. Only this
would probably require changes to the Batik source and I'm not very happy
about messing with it.



Cameron McCormack-4 wrote:
> 
> From briefly looking at the NSI website, it looks like
> Creme Java is a Java ME implementation, and thus might not have all the
> classes required to run Batik.
> 

Yes it is. And as far as I know it's the only java for windows mobile that
supports swing. I was very surprised to see that Sun doesn't make a Java SE
for windows mobile. I'm sure the devices have enough resources to support
it, and it's probably a matter of company policy.

-- 
View this message in context: http://www.nabble.com/Batik-and-windows-mobile-tp16397429p16447319.html
Sent from the Batik - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic