BUG Community

Welcome! Log In

Forums BUG SDK java.awt.geom.*

Subscribe to java.awt.geom.*  4 posts, 2 voices

Log in to reply to this topic
 
Oct 12, 2007 4:57pm
Img_missing_medium koolatron 52 posts

Okay, so, I want access to a few packages not included in the PhoneME Personal JARs. Specifically, I want java.awt.geom and its subclasses.

With a little theenking, I can probably cook up my own versions of these classes (as Angel seems to have done with SimplePoint =~ Point2D). I’d like to not re-invent any wheels, though :)

Oct 15, 2007 8:57am
Medium Bug Labs team kgilmer 215 posts

Kollatron, where can you get these classes? In general you can add a JAR to your bundle and add a reference to it in the OSGi manifest file. You can also add it to the Export-Packages header if you want to share the class with other bundles.

Oct 15, 2007 9:41am
Img_missing_medium koolatron 52 posts

I just sort of ended up approximating it myself by looking at Sun’s API docs and implementing what I needed. The more elegant way I’m sure is to just import Sun’s version, but both work :)

Oct 15, 2007 9:49am
Medium Bug Labs team kgilmer 215 posts

Nice! works for me :)

Log in to reply to this topic
Forums BUG SDK java.awt.geom.*

Powered by Community Engine

Top
Login
Close