By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,798 Members | 1,378 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,798 IT Pros & Developers. It's quick & easy.

Writing Data from Database to pdf

P: 5
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.
Mar 22 '13 #1
Share this Question
Share on Google+
6 Replies


10K+
P: 13,264
Read about how to use the iText A.P.I
Mar 23 '13 #2

P: 5
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.
Mar 24 '13 #3

10K+
P: 13,264
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.
Mar 24 '13 #4

P: 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.
Mar 24 '13 #5

10K+
P: 13,264
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.
Mar 24 '13 #6

P: 5
Thank you. Now im going to do it myself.
Mar 26 '13 #7

Post your reply

Sign in to post your reply or Sign up for a free account.