ml.francis Posted September 16, 2019 Share Posted September 16, 2019 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. Link to comment Share on other sites More sharing options...
davidgarratt Posted September 16, 2019 Share Posted September 16, 2019 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 Link to comment Share on other sites More sharing options...
davidgarratt Posted September 16, 2019 Share Posted September 16, 2019 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. Link to comment Share on other sites More sharing options...
ml.francis Posted September 17, 2019 Author Share Posted September 17, 2019 which should I download? go to Downloads > commander4j source download options? thanks. which java file should I be looking at.. Link to comment Share on other sites More sharing options...
ml.francis Posted September 17, 2019 Author Share Posted September 17, 2019 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. Link to comment Share on other sites More sharing options...
C-Box Posted September 19, 2019 Share Posted September 19, 2019 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/b4.zip/downloadhth + regardsC-Box Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now