Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jess !

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello Mr friedMan,
first thank you and thank you again !,

I asked you a question about how to exchange the input directory!!
I studied so ,(as you said) ,the two examples (conbsole and console pannel) and I used a textfield for input (as you said) and not a textarea.
but i could not input my text in the textfield!!! and the standard input directory is locked!
can you give me a short example to clarify this problem!!!

thanks very much too!
waiting for your helpfull answer!!!
thanks !
luyza!
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Note that "directory" is another word for "folder", a place to store files on a disk. We're talking about the standard input and output streams. There's such a thing as the "current directory", but no such thing as a "standard input directory."

Anyway, as it says in the manual, you have to connect the TextReader to the TextField using an ActionListener, and add the TextReader to Jess as an input router. The code would look like this:

 
First, you drop a couch from the plane, THEN you surf it. Here, take this tiny ad with you:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic