If I run this small program under Linux (jdk 1.1.5
v5), all inputs appear on the terminal an not in the TextField, if I use
a Frame or a Dialog, the input is correct displayed in the TextField!
But the program is running correct under Windows
NT & 95...
Is there a solution for this problem?
Thx
Wolfgang
----
import com.sun.java.swing.*;
import java.awt.*;
public class Test {
public static void main (String
args[]) {
JWindow
w = new JWindow();
w.getContentPane().setLayout(null);
w.setBounds(0,
0, 500, 300);
JTextField
txt = new JTextField();
txt.setBounds(20,20,200,25);
w.getContentPane().add(txt);
w.show();
}
}