Sunit Katkar's Home Page


 Java Applets



 Java Links

 
Welcome to QuickCoolButton
QuickCoolButton is an extension of the standard Canvas class to make visually appealing non-image but colorful text buttons.

Features
QuickCoolButton lets you have MSIE or Netscape Communicator 4 style borderless buttons. It has the 'same size' feature of QuickButton1. When the mouse moves over a QuickCoolButton, raised borders popup and the label text changes to a brighter shade of the original label color. On pressing the button the borders change and the text label changes color. A disabled state is also provided where a etched border surrounds the text label.
Development Platform:Windows 95
JDK version:Sun JDK1.0.2
Tested Under:Windows 95, Linux
Source Code:QuickCoolButton Source Code, QuickCoolButton Applet Source Code

Why did I do it ?
After making QuickPanels, I was wondering what to customize next till my attention was drawn to the cool borderless buttons on the button bars of Netscape Communicator 4. I had QuickButtons and I had QuickPanels.

So I went back to my icon-editor softwareto work out the geometry of these borderless buttons. What resulted was a nice borderless button by combining the techniques used in QuickButtons and QuickPanels.

How did I do it ?
I started by carefully observing the borderless buttons on Netscape Communicator 4. Then using a windows icon editor software I replicated the states of these buttons. This helped in defining the geometry of these buttons. Then I modified the java.awt.Graphics  methods setColor and drawLine from QuickButtons and QuickPanels.