-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.2.0
-
sparc
-
solaris_2.5.1
Name: aaC67449 Date: 02/25/98
Constructor DefaultTableModel(int,int) does not set number of Column.
-------------------Example-----------------------------------
import java.awt.swing.table.*;
public class Test {
public static void main(String argv[]) {
DefaultTableModel c = new DefaultTableModel(5,5);
if(c.getColumnCount()!=5)
System.out.println("Failed. getColumnCount="+c.getColumnCount());
else
System.out.println("OKAY");
}
}
-------------------Output------------------------------------
Failed. getColumnCount=0
======================================================================
- duplicates
-
JDK-4113016 java.awt.swing.JTable(int, int) does not work properly
- Resolved