This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
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: 24190
    
  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]
 
Have you checked out Aspose?
 
subject: InputRouters
 
It's not a secret anymore!