-
Bug
-
Resolution: Fixed
-
P4
-
6, 6u2
-
b01
-
x86, sparc
-
linux, solaris_2.5.1
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2148523 | 7 | Anton Tarasov | P4 | Closed | Fixed | b14 |
Red Hat Enterprise Linux 3 Update 8
FULL JDK VERSION(S):
java version "1.6.0-rc"
Java(TM) SE Runtime Environment (build 1.6.0-rc-b96)
Java HotSpot(TM) Client VM (build 1.6.0-rc-b96, mixed mode)
DESCRIPTION:
On Motf AWT(MToolkit), I cannot input any character on multi window environment.
It seems focus related problem.
It's not related locale or XIM server.
Test instruction is as follows:
1. Compile and run following program
2. One of window may have input focus, type some characters
3. Move input focus to the other window by using mouse, type some characters but nothing happen
4. Move back input focus to the first window by using mouse, type some characters but also nothing happened
==============================================================
import java.awt.*;
import javax.swing.*;
class MultiFrame {
MultiFrame(int x, int y) {
JFrame frame = new JFrame("FrameTest");
Container c = frame.getContentPane();
c.setLayout(new GridLayout(1,0));
c.add(new JTextArea());
frame.setSize(200,100);
frame.setLocation(x,y);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
}
public static void main(String[] args) {
System.setProperty("awt.toolkit","sun.awt.motif.MToolkit");
MultiFrame f1 = new MultiFrame(0,0);
MultiFrame f2 = new MultiFrame(200,0);
}
}
- backported by
-
JDK-2148523 On MToolkit, cannot input any character on multi window environment
- Closed
- duplicates
-
JDK-6598651 [MAWT] Keyboard stops responding after About dialog open and close in SwingSet2
- Closed
- relates to
-
JDK-6606579 MToolkit:Focus is lost and no further response to key press (keys TAB/Space)
- Closed
-
JDK-6494382 MAWT: owned Window can't be focused
- Closed
-
JDK-6547951 On MAWT TextArea, cursor keeps blinking after focus moved to a native window.
- Closed
-
JDK-4157017 Tabbing through components stops if next component is off screen
- Closed
-
JDK-6609494 On MAWT TextArea, cursor keeps blinking after focus moved to a native window.
- Closed