public static Statement getStatement() throws SQLException{
        
        if(connection == null){
            String url = "jdbc:mysql://localhost:3307/galeteria";
            try{
                Class.forName("com.mysql.jdbc.Driver");
                connection = DriverManager.getConnection(url, "root","root");
            } 
            catch(Exception e){
                JOptionPane.showMessageDialog(null, e.toString()+" FALHA NA CONEXÃO"); 
            }
        }
        return connection.createStatement();
    }