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 - Two "default" values for table model.
Summary: Two "default" values for table model.
Status: CLOSED WONTFIX
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 minor (vote)
Assignee: Tomas Pavek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-08-11 09:57 UTC by Jan Stola
Modified: 2003-06-30 18:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.