an OutputStreamWriter may be buffered, so flush() it ...
> I want to read de characters in an array : ok but I want them to
> display on the screen with OutputStreamWriter, but
[quoted text clipped - 16 lines]
> invoer.read(buf); //ok
> uitvoer.write(buf); //nothing appear
uitvoer.flush(); // write immediately and don't buffer
> }
> catch(IOException ioe)
> {
> System.out.println("fout bij inlezen");
>
> }
Lew - 07 Mar 2007 21:48 GMT
Please do not top post.
> an OutputStreamWriter may be buffered, so flush() it ...
Which is the answer given to your question when you multiposted it to
comp.lang.java.help as "IO problem". That was rather unfair to those trying to
help you. You should cross post instead, when you feel the need to approach
multiple newsgroups at once.
-- Lew
phi@gressly.ch - 08 Mar 2007 12:59 GMT
> Please do not top post.
>
[quoted text clipped - 6 lines]
>
> -- Lew
Sorry, does "top post" mean, I should not add my Answer to the top of
the question?
Anyway, it was not my intention to add anything to
"comp.lang.java.help", because I only subscribed to
"comp.lang.java.programmer".
Can anybody help me with this "cross post" thing? How does "cross post"
work. How do I enable (or disable) it?
What acutally is a "Followup-To:" (I can choose it in my Thunderbird
Mail Client, but I have no Idea what it means).
Thanks
phi
Joshua Cranmer - 08 Mar 2007 22:58 GMT
>> Please do not top post.
>>
[quoted text clipped - 19 lines]
>
> phi
In Thunderbird, to cross-post you would type something like:
Newsgroup: | *** comp.lang.java.programmer, comp.lang.java.help
or:
Newsgroup: | *** comp.lang.java.programmer
Newsgroup: | *** comp.lang.java.help
(The ***'s are my attempt to denote the little rolodex-card-thingy)
Followup-To is basically the newsgroup version of Reply-To: it just
tells the client to default to following up to the selected newsgroup(s).