Sunit Katkar's Home Page


 Java Applets



 Java Links

 

Welcome to QuickPanels  
QuickPanel and QuickLabelPanel classes put a little visual enhancement to the otherwise invisible Panel. The first class is QuickPanel and the other is QuickLabelPanel.


Features
QuickPanel: lets you to have Windows 95 style Panels with a raised, sunken or etched border. Supports all the functionality of the standard Panel class.

QuickLabelPanel: allows you to have a etched panel (like one of the options from the QuickPanel) with a text label at the top left of the panel. Supports all the functionality of the standard Panel class.
Development Platform:Windows 95
JDK version:Sun JDK1.0.2
Tested Under:Windows 95, Linux
Source Code:QuickPanel Source Code, QuickLabelPanel Source Code

Why did I do it ?
After making QuickButtons, I wanted to try my hand at extending some other class for visual enhancement. Panel was a good candidate. Panel is a really convenient class in the Java AWT. These two QuickPanels are extended from the original Panel class, offering a visual enhancement by way of borders indicating the boundary of the panels.

How do I do it ?
I started by using a windows icon editor software and drawing my own 3D looking panels. Then I experimented with java.awt.Graphics  methods setColor and drawLine along the lines of QuickButtons. This resulted in these two QuickPanels.