Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse causes Swing to hang
Eclipse causes Swing to hang [message #319681] Wed, 29 August 2007 21:34 Go to next message
Steve Ray is currently offline Steve RayFriend
Messages: 31
Registered: July 2009
Member
I have a simple program. It has two threads, one that reads from
System.in via a BufferedReader and another that displays a JFrame. When I
run this inside of Eclipse, the application hangs in the BufferedReader
and never lets the JFrame display. Is it allright to post the code in
this forum? The program runs fine outside Eclipse.
Re: Eclipse causes Swing to hang [message #319684 is a reply to message #319681] Wed, 29 August 2007 22:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

What platform? There may be Mac-specific issues if you use that platform. You are also allocating a console to read input from? For what it's worth, Eclipse doesn't send the characters byte-by-byte to the input reader; rather, it waits for return and then sends it a line at a time.

Alex.
Re: Eclipse causes Swing to hang [message #319726 is a reply to message #319684] Thu, 30 August 2007 14:16 Go to previous messageGo to next message
Steve Ray is currently offline Steve RayFriend
Messages: 31
Registered: July 2009
Member
I'm running on Windows with Europa and Java 1.6. The application runs
fine standalone, but inside Eclipse I get hangs. Happy to send the code
although you can see it at the Swing forum. At first I thought it was a
java problem, but it runs fine standalone and in that other IDE
netWhatever.

http://forum.java.sun.com/thread.jspa?messageID=9850370
Re: Eclipse causes Swing to hang [message #319902 is a reply to message #319681] Wed, 05 September 2007 15:34 Go to previous message
Darin Wright is currently offline Darin WrightFriend
Messages: 454
Registered: July 2009
Senior Member
See Eclipse bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=40066.

Darin

"Steve Ray" <stephen.l.ray@boeing.com> wrote in message
news:7fa806114eecd2a38378c8f59378460b$1@www.eclipse.org...
>I have a simple program. It has two threads, one that reads from System.in
>via a BufferedReader and another that displays a JFrame. When I run this
>inside of Eclipse, the application hangs in the BufferedReader and never
>lets the JFrame display. Is it allright to post the code in this forum?
>The program runs fine outside Eclipse.
>
>
Previous Topic:Key Binding Issue
Next Topic:How to Add a Custom Debug View?
Goto Forum:
  


Current Time: Tue Dec 23 03:48:02 GMT 2014

Powered by FUDForum. Page generated in 0.01646 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software