Updated Aperture Loupe in Swing

Posted by: Romain Guy on 01/02/2007

I recently showed an Aperture-like loupe implemented in Swing. As usual, you guys are way too picky about demos and asked for a couple of fixes :p The following links point to an updated version of the demo. You can now change the magnifying power of the loupe and it will show only the picture that sits directly underneath the mouse cursor. This new version should also fix the bug when the frame was minimized/maximized but I don't know for sure since I haven't tried it on Windows yet.

The source code is available. Keep in mind the goal of this demo is to explain how to use layered panes, not to create a fully functional, bug-free loupe ;-)

Webstart now!

Centered Loupe


About Romain Guy

Romain Guy

Romain Guy is a French student who worked for one year among the Swing Team at Sun Microsystems. He has 7 years of experience in Java development, as an Open Source and freelance developer. He also worked as a freelance journalist for a French computing magazine, as a translator for O'Reilly and taught Java in a University. Today Romain focuses on UI design and humane interaction, especially in the Desktop Java field.

More About Romain »

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 7
  • Agility
  • Testing: Geb, Spock, Easyb
  • REST
  • NoSQL: MongoDB, Cassandra
  • Hadoop
  • Spring 3
  • Automation Tools: Git, Hudson, Sonar
  • HTML5, Ajax, jQuery, Usability
  • Mobile Applications - iPhone and Android
  • More...
Learn More »

NFJS, the Magazine

May Issue Now Available
  • Client-Side MVC with Spine.js, Part 1

    by Craig Walls
  • On Prototypal Inheritance, Part 2

    by Raju Gandhi
  • Making use of Scala Lazy Collections

    by Venkat Subramaniam
  • Integration Testing Web Applications Using Gradle

    by Kenneth Kousen
Learn More »