wood burning stoves 2.0*
The moose likes Other Java Products and Servers and the fly likes InputRouters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "InputRouters" Watch "InputRouters" New topic
Author

InputRouters

assia assiatoune
Greenhorn

Joined: Jul 11, 2004
Posts: 16
hello!
first, thanks for all your answers!
my question is about InputRouter!
I want to reroute the standard input directory to a textArea.
I used:


but the result was that I could not input text since the stanard output directory too.
how to do to reroute it to my taxtArea1?

thanks!


[ July 27, 2004: Message edited by: Lasse Koskela ]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

TextReader works with a TextField for input, not a TextArea -- run the jess.Console program for an example of what it looks like. You use a TextArea for output, and a separate TextField for input.

In theory, you could write an adapter which took input from a TextArea (or JTextArea) -- but it's not something that TextReader can do.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: InputRouters
 
Similar Threads
Reading a large text file ,modifying it and writing it to another file
gettin error with TextReader
Loop Problems
jess !
How can I....