• Post Reply Bookmark Topic Watch Topic
  • New Topic

TextField to InputStream

 
Alpha Mak
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.

 
Valentin Crettaz
Gold Digger
Sheriff
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
Sheriff
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

 
Jane Griscti
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
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you please specify which type of input stream you would like it to go into? There is Data, File, ByteArray, etc....
Thanks a bunch.

------------------
Happy Coding,
Gregg Bolinger
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!