newbie how to connect java swing app with mysql connection to report?

0

Hi, I'm just new to jasper reports and I was hoping to ask if anybody could help with some sample codes as to connect my java swing app to jasper report. Do I create the report first in jasper studio or ireport? And then use that file to connect in java to my mysql database for data? I have a database named "uytit" in mysql and with a table called "transaction", I would like to just display all records of transaction to the report for printing as a pdf file. How do I do that? I am using notepad++ and command prompt as my IDE so I cannot import libraries like eclipse or netbeans so how do I import the libraries in the command prompt? Is there a tutorial on the web as well where I can learn how to connect a java swing app to a jasper report using mysql database? I can't find any on the internet... somebody please help. Thank you.

ml.francis's picture
Joined: Sep 2 2014 - 1:19am
Last seen: 1 week 1 day ago

I don't think I could describe what I've done in a single reply here - but your more than welcome to look at my code which can be found at http://www.commander4j.com

davidgarratt - 1 month 2 days ago

which should I download? go to Downloads > commander4j source download options? thanks. which java file should I be looking at..

ml.francis - 1 month 2 days ago

Sir, can you kindly be more specific as to which file I should be downloading and where I can download it and which java file contains source codes in linking a swing app with jasper reports...? I've searched your entire webpage and failed to find a b4.zip file.

ml.francis - 1 month 2 days ago

2 Answers:

0

Have a look at my website and download the source code which can be found in a file called b4.zip from http://www.commander4j.com - follow downloads page.

It's all open source.

davidgarratt's picture
Joined: Sep 17 2013 - 8:13pm
Last seen: 2 weeks 4 days ago
0

Sir, can you kindly be more specific as to which file I should be downloading and where I can download it and which java file contains source codes in linking a swing app with jasper reports...? I've searched your entire webpage and failed to find a b4.zip file.

It took me just some seconds to find the mentioned Zip file from david just by stepping from his download section --> to sourceforge --> to files!??!?! So where is the problem!??!?! :-/

here the direct link:   https://sourceforge.net/projects/commander4j/files/Version%207.17/source...

hth + regards

C-Box

C-Box's picture
1949
Joined: Jul 19 2006 - 5:58pm
Last seen: 10 hours 52 min ago
Feedback
randomness