Bugs item #2879953, was opened at 2009-10-15 15:59
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2879953&group_id=44253
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: UI: UNIX-specific
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Keyboard Focus Problem on Linux
Initial Comment:
I am a huge fan of DrJava, and have been using it in my class for the past
year. However, I'm running into a significant roadblock, and I was hoping
you might know of a workaround. When I use DrJava to show a JFrame that
uses keyboard input, the components in that frame never receive those key
presses. I don't have this problem on any other OS, and I don't have this
problem with any other IDE. I believe the issue is that Java has a bug in
Linux, that causes the DrJava main window to steal the focus somehow from
other windows. Since I teach game programming to over 100 students in a
Linux-only lab, this will prevent me from using DrJava, unless you can
point me to a workaround. Thank you so much for your help!
Dave Feinberg
Assistant Teaching Professor
Carnegie Mellon University
CODE FOR REPRODUCING THE PROBLEM:
(You will not be able to type in the text field if the code is run in
DrJava.)
import javax.swing.*;
public class TestDisplay extends JFrame
{
public TestDisplay()
{
add(new JTextField());
pack();
setVisible(true);
}
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2879953&group_id=44253
|