Writing Data from Database to pdf

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Riteshti
    New Member
    • Mar 2013
    • 5

    Writing Data from Database to pdf

    Hi I have written a java program where I can access table data from Oracle database to "JTable" , and now I want the data from the Jtable to be written in a pdf file. Please assist me to do this.
    Please help me with single java code to do this job i.e writing data directly from database to pdf

    Thanks and Regards.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Read about how to use the iText A.P.I

    Comment

    • Riteshti
      New Member
      • Mar 2013
      • 5

      #3
      Hi
      I thank you for your reply . It would be a tough job reading an API. If you please help with some code fragments , I'll be obliged.

      Thanks in advance.

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Programming requires that you read. You can't just use code fragments that you don't understand and hope that they will magically do what you want.

        Comment

        • Riteshti
          New Member
          • Mar 2013
          • 5

          #5
          If a code fragment can do a magic which I want , then what's wrong in it?
          Java is vast language and its really tough to learn all the API which come in requirement. So , I joined the forum so that I can get help with a little effort.
          if u know the code , please provide me. I'll understand it myself.

          Comment

          • r035198x
            MVP
            • Sep 2006
            • 13225

            #6
            I didn't ask you to read all the Java API. I asked you to check the iText API which has classes that do what you want.
            If you had read them you would already have been done by now instead of continuing to ask for code without showing any effort.

            Comment

            • Riteshti
              New Member
              • Mar 2013
              • 5

              #7
              Thank you. Now im going to do it myself.

              Comment

              Working...