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

Merlin-beta-F Swing Table not functioning correctly in SwingBasher

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta
    • x86
    • windows_nt
    • Not verified

      Merlin-beta-F Swing table-related tests are not functioning correctly in SwingBasher on Windows NT. The only way I can run SwingBasher is to comment out the three table tests that were running fine for kestrel:
      TableColMoveTest=Active
      TableColTest=Active
      TableRowTest=Active

      I had to comment out all the Table tests in the SwingBasher Suite in order for SwingBasher to work.

      Get SwingBasher from:
      /net/sqesvr/export/disk3/Kestrel_ws

      Set JAVA_HOME and type "gnumake auto" to compile and run.

      Here's the exception that is thrown on NT:
      ...Running SwingBasher...
      java version "1.4.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-F)
      Java HotSpot(TM) Client VM (build 1.3.0rc2-Y, mixed mode)
      Started Loop #1 at Mon Apr 03 15:30:33 PDT 2000 with CDE/Motif
      Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
              at java.util.Vector.elementAt(Vector.java:441)
              at javax.swing.table.DefaultTableModel.justifyRows(DefaultTableModel.jav
      a:228)
              at javax.swing.table.DefaultTableModel.setDataVector(DefaultTableModel.j
      ava:193)
              at javax.swing.table.DefaultTableModel.<init>(DefaultTableModel.java:99)

              at javax.swing.table.DefaultTableModel.<init>(DefaultTableModel.java:81)

              at javax.swing.table.DefaultTableModel.<init>(DefaultTableModel.java:61)

              at TableColTest$1.<init>(TableColTest.java:52)
              at TableColTest.getTestComponent(TableColTest.java:49)
              at SwingMarkPanel.<init>(SwingMarkPanel.java:58)
              at SwingBasher.runTest(SwingBasher.java:184)
              at SwingBasher.main(SwingBasher.java:148)


            pmilnesunw Philip Milne (Inactive)
            nschorrsunw Nancy Schorr (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: