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

Incorrect statement in SymbolTest.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.4.0
    • 1.1.1
    • client-libs
    • None
    • beta
    • x86
    • windows_95

      Name: mc57594 Date: 05/22/97

      In SymbolTest.java
      The statement "a separate class file won't be created"
      is not true in the following comment:

          /*
           * This class demonstrates how adapter classes can be used to avoid
           * creating empty methods to satisfy an event listener interface.
           * Being a nested class, a separate class file won't be created
           * (which would be overkill for implementing this functionality).
           */
          static class MyAdapter extends WindowAdapter {
              public void windowClosing(WindowEvent e) {
                  System.exit(0);
              }
          }

      company - Bruce Eckel Seminars , email - ###@###.###
      ======================================================================

            dmcduffisunw Dale Mcduffie (Inactive)
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: