Updated Aperture Loupe in Swing - No Fluff Just Stuff

Updated Aperture Loupe in Swing

Posted by: Romain Guy on January 2, 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

Romain Guy

About 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.

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 »