GraphicsBuilder demo from SVCC 2007 - No Fluff Just Stuff

GraphicsBuilder demo from SVCC 2007

Posted by: Andres Almiray on November 1, 2007

Hot from the recent SVCC 2007 here is one of the demos I presented.

SVCC GraphicsBuilder demo


As you have guessed it is a Google maps viewer (thanks to SwingX-ws's JXMapKit) that display a custom waypoint, which is rendered by a GraphicsOperation. The code for setting the map with Groovy is very similar to the one described here so the real deal is how to setup a GraphicsBuilder enabled WaypointRenderer, look no further:

It is not the fanciest version because JXMapKit will eventually call paintWaypoint() every time you move around the map, that means the GraphicsOperation is executed every time as well. An optimized version would save the first execution into an off-screen image and use that image in subsequent calls.

Keep on Groovying!
Andres Almiray

About Andres Almiray

Andres is a Java/Groovy developer and a Java Champion with more than 20 years of experience in software design and development. He has been involved in web and desktop application development since the early days of Java. Andres is a true believer in open source and has participated on popular projects like Groovy, Griffon, and DbUnit, as well as starting his own projects (Json-lib, EZMorph, GraphicsBuilder, JideBuilder). Founding member of the Griffon framework and Hackergarten community event. https://ch.linkedin.com/in/aalmiray

Why Attend the NFJS Tour?

  • » Cutting-Edge Technologies
  • » Agile Practices
  • » Peer Exchange

Current Topics:

  • Languages on the JVM: Scala, Groovy, Clojure
  • Enterprise Java
  • Core Java, Java 8
  • Agility
  • Testing: Geb, Spock, Easyb
  • REST
  • NoSQL: MongoDB, Cassandra
  • Hadoop
  • Spring 4
  • Cloud
  • Automation Tools: Gradle, Git, Jenkins, Sonar
  • HTML5, CSS3, AngularJS, jQuery, Usability
  • Mobile Apps - iPhone and Android
  • More...
Learn More »