-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
1.3.0
-
x86
-
windows_nt
Name: yyT116575 Date: 09/08/2000
java version "1.3.0rc2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc2-Y)
Java HotSpot(TM) Client VM (build 1.3.0rc2-Y, mixed mode)
Compile the following java code and run on unix platform--it works fine, font
size will change. but if you run the same program on windows the font size
will not change at all.
import java.awt.*;
import javax.swing.*;
class TestFileDialog{
TestFileDialog() {
FileDialog fDialog = new FileDialog(new JFrame(),
"Select Application",
FileDialog.LOAD);
int i=0;
while(i<=24)
{
fDialog.setFont(new Font("-adobe-helvetica",1,i++));
System.out.println(fDialog.getFont());
fDialog.setDirectory(".");
fDialog.show();
}
}
public static void main(String [] args) {
new TestFileDialog();
System.exit(0);
}
}
(Review ID: 109262)
======================================================================
java version "1.3.0rc2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc2-Y)
Java HotSpot(TM) Client VM (build 1.3.0rc2-Y, mixed mode)
Compile the following java code and run on unix platform--it works fine, font
size will change. but if you run the same program on windows the font size
will not change at all.
import java.awt.*;
import javax.swing.*;
class TestFileDialog{
TestFileDialog() {
FileDialog fDialog = new FileDialog(new JFrame(),
"Select Application",
FileDialog.LOAD);
int i=0;
while(i<=24)
{
fDialog.setFont(new Font("-adobe-helvetica",1,i++));
System.out.println(fDialog.getFont());
fDialog.setDirectory(".");
fDialog.show();
}
}
public static void main(String [] args) {
new TestFileDialog();
System.exit(0);
}
}
(Review ID: 109262)
======================================================================