File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes dos prompt  + running java + problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "dos prompt  + running java + problem" Watch "dos prompt  + running java + problem" New topic

dos prompt + running java + problem

Sarran Vidyakumar

Joined: Mar 26, 2003
Posts: 28
hey guys:
i m running a java program (jms client) that i start using a .exe batch file. The program opens in a dos-command prompt and prints on the window messages it receives..the problem now is that whenever we have some text highlighted on the dos window the whole java program freezes...and again when we hit enter(disabling/removing the white space) all messages get printed out at when we have highlighted text the whole dos window freezes & waits for a enter to flush all there a workaround..this is not a java code problem..but is inherent in all dos windows..thanks in advance for help
Jeff Bosch
Ranch Hand

Joined: Jul 30, 2003
Posts: 805
You posted this exact same question in the Java in General (Intermediate) forum. Please do not post one question in multiple forums as you potentially waste the time of people who reply to a post that may have already been answered.
[ November 18, 2004: Message edited by: Jeff Bosch ]

Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
Sarran Vidyakumar

Joined: Mar 26, 2003
Posts: 28
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199


[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: dos prompt + running java + problem
It's not a secret anymore!