Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4616358

damaged ImageIcons after update to 1.4 beta3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs



      Name: nt126004 Date: 12/19/2001


      java version "1.4.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
      Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)

      /*
       * testimageicon.java
       *
       * Created on 27. November 2001, 17:55
       */

      /**
       *
       * @author ralph
       */
      public class testimageicon extends java.awt.Dialog {

          /** Creates new form testimageicon */
          public testimageicon(java.awt.Frame parent, boolean modal) {
              super(parent, modal);
              initComponents();
          }

          /** This method is called from within the constructor to
           * initialize the form.
           * WARNING: Do NOT modify this code. The content of this method is
           * always regenerated by the Form Editor.
           */
          private void initComponents() {
              jButton1 = new javax.swing.JButton();
              
              addWindowListener(new java.awt.event.WindowAdapter() {
                  public void windowClosing(java.awt.event.WindowEvent evt) {
                      closeDialog(evt);
                  }
              });
              
              jButton1.setIcon(new javax.swing.ImageIcon("we0.gif"));
              jButton1.setText("jButton1");
              add(jButton1, java.awt.BorderLayout.CENTER);
              
              pack();
          }

          /** Closes the dialog */
          private void closeDialog(java.awt.event.WindowEvent evt) {
              setVisible(false);
              dispose();
          }

          /**
          * @param args the command line arguments
          */
          public static void main(String args[]) {
              new testimageicon(new java.awt.Frame(), true).show();
          }


          // Variables declaration - do not modify
          private javax.swing.JButton jButton1;
          // End of variables declaration

      }
      (Review ID: 136360)
      ======================================================================

            shickeysunw Shannon Hickey (Inactive)
            nthompsosunw Nathanael Thompson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: