// Path: Pre_FRAMS/src/business_logic/MySQL.java
// public class MySQL 
// {
//         public String HOST = "jdbc:mysql://localhost:3380/project";
//         public String USERNAME = "root";
//         public String PASSWORD = "devang2993";
//         public MySQL()
//         {
//             
//         }
// }


import business_logic.MySQL;
import java.awt.Dimension;
import java.awt.Frame;
import static java.awt.Frame.getFrames;
import java.awt.Toolkit;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Map;
import javax.swing.JFrame;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JasperFillManager;
import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.swing.JRViewer;
package Pre_FRAMS;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Ray24
 */

 
/**
 *
 * @author Hans Kristanto
 */
public class sample_report {
 
    Connection conn = null;
 
    public sample_report(){
// Path: Pre_FRAMS/src/business_logic/MySQL.java
// public class MySQL 
// {
//         public String HOST = "jdbc:mysql://localhost:3380/project";
//         public String USERNAME = "root";
//         public String PASSWORD = "devang2993";
//         public MySQL()
//         {
//             
//         }
// }


// Path: Pre_FRAMS/src/Pre_FRAMS/sample_report.java
import business_logic.MySQL;
import java.awt.Dimension;
import java.awt.Frame;
import static java.awt.Frame.getFrames;
import java.awt.Toolkit;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Map;
import javax.swing.JFrame;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JasperFillManager;
import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.swing.JRViewer;

package Pre_FRAMS;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Ray24
 */

 
/**
 *
 * @author Hans Kristanto
 */
public class sample_report {
 
    Connection conn = null;
 
    public sample_report(){
        MySQL sql=new MySQL();