Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4014289
Votes 0
Synopsis GridBagLayout should use a vector instead of hardcoding the number of elements
Category java:classes_awt
Reported Against 1.1
Release Fixed
State 11-Closed, duplicate of 4254022, request for enhancement
Priority: 4-Low
Related Bugs 4254022
Submit Date 12-NOV-1996
Description
Currently GridBagLayout hardcodes the maximum number of elements.
This should be allowed to grow as needed by using a Vector or
other appropriate approach.
Work Around
N/A
Evaluation
We should definitely fix this for Merlin, if not for Ladybird.  
  xxxxx@xxxxx   1999-12-13
Comments
  
  Include a link with my name & email   

Submitted On 17-AUG-1998
weic
Please fix this asap.
Anybody have a workaround???


Submitted On 14-MAR-1999
ProudCat
Yes,it's very bad because we had enough number
of cases when we want to insert many components 
inside. It doesn't even check that and throws exception.
At least it must resize array each time if number of
components is more then 512.The good thing is plain container
does resizing at least!



PLEASE NOTE: JDK6 is formerly known as Project Mustang