Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse question

 
barry richard
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
barry richard
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic