Meaningless Drivel is fun!*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse question" Watch "Eclipse question" New topic
Author

Eclipse question

barry richard
Greenhorn

Joined: Oct 03, 2012
Posts: 19
Hi,

I have Eclipse Juno installed on Debian squeeze base with java 1.7.

Whenever I run a console program which requires an input, the cursor stays in the CODE window and I have to click in the console window to enter input

Is is normal for console for Eclipse or is it is some issue with my settings, which are still default

thanks
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952
    
  19

It would be rather rude for Eclipse to go jerking the focus away from the user.

1. Not all java apps even want console input. Most of mine don't.

2. Eclipse can be running multiple apps (with or without debugging) simultaneously, each with its own console. Would you really want them to start fighting over who steals the focus?

3. You can be working on editing a completely unrelated program while an app(s) is running, especially if it's a long-running app. If you were typing Java code and suddenly it went into an app's input prompt right before you hit ENTER, you probably wouldn't appreciate it.


Customer surveys are for companies who didn't pay proper attention to begin with.
barry richard
Greenhorn

Joined: Oct 03, 2012
Posts: 19
Thanks for your reply

I was not complaining against it, was just wondering if it was normal.

Thanks for your time
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952
    
  19

No problem. Some IDEs are more single-minded, so they can do what you were asking without problems. Eclipse is designed to do many things at once, so it can't take such liberties.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse question
 
Similar Threads
Eclipse 1.3 and Scanner hasNext()
Multiple Consoles in Eclipse
In Eclipse, my console window keeps disappearing
NPE in Eclipse, but not in commandline?
Eclipse console input?