Results 1 to 3 of 3
  1. #1
    amitcs1001 is offline Member
    Join Date
    Oct 2009
    Posts
    1
    Rep Power
    0

    Default Printing text file

    HI frnds,
    I m using netbeans6.7 and i want to print a text file which is present in c: drive and i want to print that using swing can any one help me out.

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    806
    Rep Power
    6

    Default

    Do u want to retreive the textfile and show it in gui?
    Ramya:cool:

  3. #3
    aaroncarpet's Avatar
    aaroncarpet is offline Senior Member
    Join Date
    Nov 2009
    Location
    California
    Posts
    147
    Rep Power
    0

    Default

    I generally use a combination of java.io.File, FileWriter, and now PrintWriter for formatted output.

Similar Threads

  1. Replies: 6
    Last Post: 04-09-2009, 02:11 AM
  2. text printing service in java
    By rameshkondur in forum AWT / Swing
    Replies: 1
    Last Post: 04-08-2009, 03:56 AM
  3. Neec a help in this program (printing RGB into text file)
    By Hafsa Hosani in forum New To Java
    Replies: 2
    Last Post: 03-24-2009, 12:35 PM
  4. Java Text Printing
    By vivekn in forum Introductions
    Replies: 0
    Last Post: 03-13-2009, 08:05 AM
  5. printing simple text as text on printer
    By Nicholas Jordan in forum Advanced Java
    Replies: 0
    Last Post: 12-01-2008, 01:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •