• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

TextField to InputStream  RSS feed

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
Back with yet another problem, I know you'll be prompt to answer cause I've not been disappointed by you all as yet.So here it comes ""How can I move my data from a TextField in a Frame to an InputStream.
Thank to all of you friends.

 
Gold Digger
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Elliotte Rusty Harold's "Java IO" book provides a nice an elegant way to do that.
check out at this URL. Download the code and look at the file com.macfaq.swing.JStreamedTextArea.java or com.macfaq.awt.StreamedTextArea.java
HIH
------------------
Valentin Crettaz
Sun Certified Programmer for Java 2 Platform
 
Alpha Mak
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanx Val, but was kindda expecting more. But atleast you responded and I appreciate that.
 
Valentin Crettaz
Gold Digger
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


but was kindda expecting more


like what ???
------------------
Valentin Crettaz
Sun Certified Programmer for Java 2 Platform
 
Alpha Mak
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I meant examples if u dont mind friend cause i can move data from textfield to the out stream but not to an input stream cause i want data to be input through an input stream from a text field. Hope u get it now. Thanx for the response again

 
Ranch Hand
Posts: 3141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Alpha,
I'm going to move this over to the Swing/JFC/AWT forum as it's not related to Certification Study.
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform
 
A lot of people cry when they cut onions. The trick is not to form an emotional bond. This tiny ad told me:
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!