|
Quick Lists
|
|
Bug ID:
|
4704042
|
|
Votes
|
0
|
|
Synopsis
|
Please add a Insets.set(top, left, bottom, right);
|
|
Category
|
java:classes_awt
|
|
Reported Against
|
1.4
|
|
Release Fixed
|
1.5(tiger)
|
|
State
|
10-Fix Delivered,
request for enhancement
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
4908759
|
|
Submit Date
|
18-JUN-2002
|
|
Description
|
Sure would be nice if Insets has a set method that allowed you set all
the fields in one pass vs having 4 setters everywhere in my app, eg:
insets.set(top, left, bottom, right);
vs
insets.top = top;
insets.left = left;
insets.right = right;
insets.bottom = bottom;
|
|
Work Around
|
N/A
|
|
Evaluation
|
This would help Swing slim down some code (4 lines -> 1 line). It would be really easy to do, so I'll look at it for Tiger.
xxxxx@xxxxx 2002-06-18
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |