Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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: 24203
44
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:

 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic