Submitted On 05-OCT-2006
Jansan2
This bug can seriously affect any application that uses Swing. For example on an input form of a stock broker application the user suddenly may not be able to see what currency value is selected in the form's combo boxes, which may make the whole application unusable. If I was the decision maker, this bug would be fixed before the final release of JDK 1.6.
Submitted On 11-OCT-2006
ScottWPalmwe
Please try to fix this for the initial JDK6 release. It can make so many UIs virtually useless not only visually unappealing.
This very same issue was JUST "fixed" in b96 (see https://jdk6.dev.java.net/files/documents/5490/39211/jdk6-b96.html bug #6439971) so according to the evaluation above it was instantly broken in the next build!
Submitted On 13-OCT-2006
Jansan2
I just don't get it! Why does fixing this bug automatically mean delaying mustang? Only fixing the bug should take an engineer about one or two hours. And testing will take another two hours. And if you want to make sure that you do not break any stuff, just roll back the fix for 6382711, which was a really unimportant bug compared to this one. Bureaucracy is necessary in some cases to ensure quality standards, but in this case it seems to prevent creating a top quality product.
And I disagree to the evaluation. I do think this bug is a show stopper. It is basically the definition of a show stopper.
Submitted On 13-OCT-2006
katzn
I will not allow my company to deploy Java 6 with this bug, since our users will not be able to use applications with comboboxes correctly. I suspect my decision will be a common one among people who make these decisions. Therefore, this is a showstopper, and should be fixed prior to the Java 6 release.
Submitted On 13-OCT-2006
Tosa_Developer
When will Java be open sourced so we can fix these bugs in a timely manner?
Submitted On 13-OCT-2006
jjburke
To paraphrase Harry Truman "the bug stops here". So please do not push the bug off to update 1 but handle it with Java 6.
Like we users have said - please fix this bug.
Thanks,
Jim Burke
Submitted On 13-OCT-2006
jaylogan
Is it the case that no JComboBoxes will render with anything other than "..."? The elements in this combo box have only 2 characters. This bodes badly for the newest release, as our application has JComboBoxes. Do I tell my company not to update to JDK 1.6?
Submitted On 16-OCT-2006
ScottWPalmwe
In my experience this is a problem with ALL comboboxes on Win LnF.. the longest item (or items if they are the same length) are ALWAYS truncated with ....
Submitted On 19-OCT-2006
Grimble
Basic control functionality and consistency is critical for user acceptance of product, the JComboBox now looks unusable, therefore it is a 'showstopper', so I vote this fixed.
Submitted On 01-NOV-2006
It looks to me like replacing the cellrenderer for the JComboBox with a new BasicComboBoxRenderer
and overriding getPreferredSize to fake a longer text
than you really have gets around the problem, albeit
by making the combobox a little wider than it needs to be.
Does anyone see any problems with this workaround?
public Dimension getPreferredSize() {
Dimension size;
String text = this.getText();
if ((text == null) || (text.equals( "" ))) {
size = super.getPreferredSize();
}
else {
setText(text + " ");
size = super.getPreferredSize();
setText(text);
}
return size;
}
Submitted On 01-NOV-2006
Sorry, I didn't check "include a link..." in my posting
of Nov 1 for my proposed workaround. Please email
me if you can confirm this workaround works or
if you think it's wrong. Would an alternative workaround
be to override the getListCellRendererComponent
method and *set* the preferred size width wider there?
That's what I initially tried and it seemed to work also,
but I don't think it is as good as overriding
getPreferredSize. I'm not an expert. Please let
me know if my workaround (above) is good or not.
Thanks
Submitted On 01-NOV-2006
That still didn't work even though I checked
"Include a link..."
Please email mccormick_bradford@emc.com
with any thoughts about my proposed workaround.
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|