EVALUATION
I'll address each of the two issues:
1) JAVA LOGO
Dialogs that are non-resizable should do not have an icon/menu in the upper left corner. This is the way it is supposed to be. Having the icon was a bug.
2) End of String
For this issue I am re-assigning to AWT. However, here's a summary of what I saw. In 1.3, it appears that the dialog appears at a width approximately equal to the width of the screen. As a result, all of the text could not display. In 1.4, the dialog is given as much space as it needs to fit all of the text, even if this results in a dialog wider than the screen - causing parts of the dialog to be offscreen. I suspect this is related to a change in the implementation of "pack()".
###@###.### 2003-03-10
Name: rpR10076 Date: 03/12/2003
Actually, both issues mentioned in this bug report are caused by the difference
between resizable and non-resizable dialogs. Even if pack() has changed
between 1.3.1 and 1.4, this is irrelevant here.
Between 1.3.1 and 1.4, Swing JOptionPane's dialogs were changed from
resizable to non-resizable.
This removed the icon (non-resizable dialogs have no icon) and also affected
Dialog's size: when a resizable Dialog is packed, it tries to fit the screen (if
someone wants to see everything in the dialog, it can be resized), while a non-
resizable dialog tries to show its contents fully (there is no way to see what's
in the dialog otherwise). AWT dialogs behave the same way on Windows.
I believe this behaviour to be correct.
I would recommend closing this out as not a bug. However, Swing team
might want to investigate this a bit further (like, perhaps, not always calling
pack() on JOptionPane's Dialogs, or wrapping long text), so I am reassigning
it back.
======================================================================
We, the Swing Team, have decided that we should probably do something more intelligent with extra long text. This will most likely involve either limiting the size of the dialog to the screen size, or wrapping the text.
###@###.### 2003-03-27
|