-
Bug
-
Resolution: Won't Fix
-
P5
-
None
-
6u3
-
x86, sparc
-
linux, solaris_2.5.1
OPERATING SYSTEM(S):
--------------------
Red Hat Enterprise Linux 4
FULL JDK VERSION(S):
-------------------
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)
DESCRIPTION:
------------
It seems Motif AWT FileDialog and XAWT FileDialog does not have compatibility.
At least, Label for "Filter" button should be "Update" on XAWT FileDialog.
Test instruction is as follows:
1. Compile FileDialogTest.java
2. Run FileDialogTest with Motif AWT
$ AWT_TOOLKIT=MToolkit LANG=C java FileDialogTest &
3. "Update" button is displayed
4. Run FileDialogTest with XAWT
$ AWT_TOOLKIT=XToolkit LANG=C java FileDialogTest &
5. "Filter" button is displayed instead of "Update" <== PROBLEM
It should be "Update"
================================================================
import java.awt.*;
public class FileDialogTest{
public static void main(String argv[]){
Frame frame = new Frame();
FileDialog f = new FileDialog(frame, "FileDialog Test");
f.setVisible(true);
}
}
--------------------
Red Hat Enterprise Linux 4
FULL JDK VERSION(S):
-------------------
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)
DESCRIPTION:
------------
It seems Motif AWT FileDialog and XAWT FileDialog does not have compatibility.
At least, Label for "Filter" button should be "Update" on XAWT FileDialog.
Test instruction is as follows:
1. Compile FileDialogTest.java
2. Run FileDialogTest with Motif AWT
$ AWT_TOOLKIT=MToolkit LANG=C java FileDialogTest &
3. "Update" button is displayed
4. Run FileDialogTest with XAWT
$ AWT_TOOLKIT=XToolkit LANG=C java FileDialogTest &
5. "Filter" button is displayed instead of "Update" <== PROBLEM
It should be "Update"
================================================================
import java.awt.*;
public class FileDialogTest{
public static void main(String argv[]){
Frame frame = new Frame();
FileDialog f = new FileDialog(frame, "FileDialog Test");
f.setVisible(true);
}
}