This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 7348

Summary: Two "default" values for table model.
Product: guibuilder Reporter: Jan Stola <jstola>
Component: CodeAssignee: Tomas Pavek <tpavek>
Status: CLOSED WONTFIX    
Severity: minor    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jan Stola 2000-08-11 09:57:11 UTC
Create new JTable. Your JTable will have 4 columns and 4 rows.
From this point of view are these numbers default.
Open table model property editor and click on default button.
You will have JTable with 0 columns and 0 rows.
I think that there should not be two default values.
Comment 1 Tomas Pavek 2000-08-23 09:29:59 UTC
By default, new JTable has 0 columns 0 rows. But when user adds a new JTable to
the form, 4 rows and 4 cols is set to it (non default values). The only reason
is (I think) the table visually looks like a table (with rows and columns).
Using default button user gets "real" default values (0,0). So should only
empty table be added to form (without pre-setting 4 rows, 4 cols)?
Comment 2 Tomas Pavek 2000-08-23 10:26:59 UTC
We've decided to preserve the current state.
Comment 3 Quality Engineering 2003-06-30 18:28:46 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.