File Browser: Thumbnail View - Online Code


This code is a simple implementation of the FileView class that provides a 16x16 image of each GIF or JPG file for its icon. This could be SLOW for large images, as we simply load the real image and then scale it.

Source Code

import java.awt.Component;

import java.awt.Container;

import java.awt.FlowLayout;

import java.awt.Graphics;

import java.awt.Image;

import java.awt.event.ActionEvent;

import java.awt.event.ActionListener;

import j
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.


No comment yet. Be the first to post a comment.