Article View: borland.public.jbuilder.java.language
Article #17279duh..
From: Matt Butler
Date: Tue, 24 Nov 1998 00:00
Date: Tue, 24 Nov 1998 00:00
25 lines
1675 bytes
1675 bytes
Hey, thanks! I would have thought I'd notice a method like that. I'll change my code to use it. Rich Downing wrote in message <365959a0.6177446@forums.borland.com>... >> Actually, it now looks like it was only showing up wrong in Notepad, not >>anyplace else I would view it, so maybe it's not a problem after all. Just a >>little confusing though. > >I had a similar problem using a BufferedWriter. I used to append "\n" >to the String sLine variable. I was writing to a .txt file and it >would not display properly in Notepad. Instead of appending "\n" to >the line I started using newLine(), and now it displays appropriately >in everything. > >dataOut.write(sLine); >dataOut.newLine(); > >Rich >---------------------------------------------------------------------- >Richard V. Downing Home: http://rvd.home.mindspring.com >Senior Software Engineer Work: http://www.vsin.com >VideoConferencing Systems, Inc. Email: rvd@mindspring.com >Norcross, Ga >------------ When surrounded by wolves 'tis best to howl -------------
Technical Details
Message-ID:
<73fcm4$9ga16@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<72sc3h$14a13@forums.borland.com> <7311k7$qo74@forums.borland.com> <734ng8$el34@forums.borland.com> <365959a0.6177446@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,1b6563995c977abb X-Google-Attributes: gidf74b3,public From: "Matt Butler" <butler@cyberramp.net> Subject: duh.. Date: 1998/11/24 Message-ID: <73fcm4$9ga16@forums.borland.com> X-Deja-AN: 415320120 References: <72sc3h$14a13@forums.borland.com> <7311k7$qo74@forums.borland.com> <734ng8$el34@forums.borland.com> <365959a0.6177446@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language