public void dbConnection(String businessId) {
        String reviewText = null;
        int reviewStars;
        int reviewVotes;
        int userVotes;
        try {
            Class.forName("org.sqlite.JDBC");
            c = DriverManager.getConnection("jdbc:sqlite:" + DB_PATH);
            System.out.println("Opened database successfully");
            stmt = c.createStatement();
            ResultSet rs = stmt
                    .executeQuery("select r.review_text as reviewText, r.stars as reviewStars,r.votes_useful as reviewVotes,u.votes_useful as userVotes from review r,user u  where r.user_id = u.user_id and r.business_id ="
                            + businessId);
            Parser p = new Parser();
            FeatureOpinion fe = null;
            // int columnCount = rs.getMetaData().getColumnCount();
            while (rs.next()) {
                reviewText = rs.getString("reviewText");
                reviewStars = rs.getInt("reviewStars");
                reviewVotes = rs.getInt("reviewVotes");
                userVotes = rs.getInt("userVotes");
                Review r = new Review(reviewText, reviewStars, reviewVotes,
                        userVotes);
                fe = p.parseReview(r, fe);
            }
            System.out.println("-----------------------------Finally ----------------------------------");
            HashMap<String, Double> posScores = extractFeaturesWithScores(fe.posFOList);
            HashMap<String, Double> negScores = extractFeaturesWithScores(fe.negFOList);
            HashMap<String, String> ambiguousFeatures = findAmbiguities(posScores, negScores);
            System.out.println(posScores);
            System.out.println(negScores);
            System.out.println(ambiguousFeatures);
            //changes-start
            JFrame frame = new JFrame(Driver.class.getSimpleName());
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JPanel panel = new JPanel();
            //JPanel Npanel = new JPanel();
            panel.setBackground(Color.white);
            //Npanel.setBackground(Color.white);
            Cloud cloud = new Cloud();
            //panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
            for (Map.Entry<String, Double> orderedEntry : posScores
                    .entrySet()) {
            	//System.out.println(orderedEntry);
            		String tag = orderedEntry.getKey();
            		Double tagValue = Math.abs(orderedEntry.getValue());
                    cloud.addTag(orderedEntry.getKey());
                    final JLabel label = new JLabel(tag);
                    final JLabel addSpace = new JLabel("    ");
                    label.setOpaque(true);
                    label.setBackground(Color.WHITE);
                    label.setForeground(Color.RED);
                    label.setFont(label.getFont().deriveFont((float) (tagValue  * 60)));
                    panel.add(label);
                    panel.add(addSpace);
                    
            }
            /*
            for (Tag tag : cloud.tags()) {
                final JLabel label = new JLabel(tag.getName());
                label.setOpaque(false);
                label.setFont(label.getFont().deriveFont((float) tag.getWeight() * 10));
                panel.add(label);
            }
            */
            frame.add(panel);
            frame.setSize(800, 600);
            frame.setVisible(true);
            //changes-end
            c.close();
        } catch (Exception e) {
            e.printStackTrace();
            System.exit(0);
        }
    }