1 Reply Latest reply on Apr 8, 2006 2:47 AM by 794342

    Java Default Icon

    843805
      Hello, How can I disable the Java Default Icon Image on the my JFrame?
        • 1. Re: Java Default Icon
          794342
          import java.awt.*;
          import javax.swing.*;
          class Testing extends JFrame
          {
            public Testing()
            {
              setLocation(400,300);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              setSize(200,100);
              setIconImage(new ImageIcon("").getImage());
            }
            public static void main(String args[]){new Testing().setVisible(true);}
          }