-
Type:
Bug
-
Status: Resolved
-
Priority:
P4
-
Resolution: Fixed
-
Affects Version/s: 1.2.0
-
Fix Version/s: 1.4.0
-
Component/s: client-libs
-
Labels:
-
Subcomponent:
-
Resolved In Build:beta
-
CPU:sparc
-
OS:solaris_2.6
----------------------------------------------------------------
jeff.dunn@eng 30Sep98
Copied from 4145237
The FileDialog spec says the following about the FileDialog(Frame)
constructor:
public FileDialog(Frame parent)
Creates a file dialog for loading a file. The title of the file dialog
is initially empty.
Parameters:
parent - the owner of the dialog
However, a FileDialog created by using this constructor does *not* have
an empty title.
On Solaris, a FileDialog created by using this constructor has a title of '_popup', and on winNT, it has a title of 'Open'.
The spec and the implementation are not in agreement.
The attached application (FileDialogTest.java) demonstrates this.
To recreate, press the 'Test FileDialog(p)' button.
----------------------------------------------------------------
jeff.dunn@eng 30Sep98
Copied from 4145237
The FileDialog spec says the following about the FileDialog(Frame)
constructor:
public FileDialog(Frame parent)
Creates a file dialog for loading a file. The title of the file dialog
is initially empty.
Parameters:
parent - the owner of the dialog
However, a FileDialog created by using this constructor does *not* have
an empty title.
On Solaris, a FileDialog created by using this constructor has a title of '_popup', and on winNT, it has a title of 'Open'.
The spec and the implementation are not in agreement.
The attached application (FileDialogTest.java) demonstrates this.
To recreate, press the 'Test FileDialog(p)' button.
----------------------------------------------------------------
- relates to
-
JDK-4145237 FileDialog created with FileDialog(Frame) has title, contrary to what spec says
-
- Closed
-