Example of use of the library which makes a lens effect over a Java JPanel
Features
- The source code includes a Class (LensJPanel) which inherits from JPanel, and which permits to show the Lens in a particular coordinate
- The class permits to select the radius of the lens, and if it is a magnifying or a reduction lens
- It can be chosen if the lens will follow the mouse pointer. If not, the coordinates of the lens on the JPanel can be set directly.
- The binary (.jar) delivered in the download file shows how the library works with a LensJPanel object that contains a JPanel image and with the lens following the mouse pointer.
Categories
GraphicsLicense
Public DomainFollow Lens effect JPanel Java
Other Useful Business Software
Get Avast Free Antivirus with 24/7 AI-powered online scam detection
Award-winning antivirus protection, as well as protection against online scams, dangerous Wi-Fi connections, hacked accounts, and ransomware. It includes Avast Assistant, your built-in AI partner, which gives you help with suspicious online messages, offers, and more.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Lens effect JPanel Java!