Application Icon: Replace the Coffee Cup!
This shows you how to integrate a logo into your application, where normally the JAVA Coffe Cup icon is located.

Here is the sample code for a classfile named TestFrame.class which has code to show a frame inside, plus code for the icon:
import java.awt.*;
import javax.swing.*;
public class TestFrame extends Frame
 public TestFrame()
 public static void main(String[] args)
 TestFrame frame = new TestFrame();;

 ImageIcon image = new ImageIcon("icon.gif");
admin / Dec 09, 2003
2004 - 2019 /