public void createPDF(){
        Document document = new Document();
        try{
            BaseFont times = BaseFont.createFont("c:/windows/fonts/times.ttf","cp1251", BaseFont.EMBEDDED);
            PdfWriter.getInstance(document, new FileOutputStream("/DolphinBase/Playground.pdf"));

            document.open();

            com.itextpdf.text.Image image = com.itextpdf.text.Image.getInstance("/DolphinBase/1dolphin.png");
            document.add(image);
            document.add(new Paragraph("   Dolphin.    = " + playground.getPlayGroundPrise() + " ." + "\n" + "\n" +
                    "   " + playground.getElemNumber() + " : " + "\n" + "\n", new com.itextpdf.text.Font(times, 14) ));
            while(playground.getpGroundList().size() > count) {
                document.add(new Paragraph(playground.getpGroundList().get(count).getName() + " (" +
                        playground.getpGroundList().get(count).getCode() + "): " +
                        playground.getpGroundList().get(count).getPrice()+ " . * " +
                        playground.getpGroundList().get(count).getCount() + ". = " +
                        playground.getpGroundList().get(count).getPrice() * playground.getpGroundList().get(count).getCount() +
                        " ." + "\n"
                        , new com.itextpdf.text.Font(times, 14)));
                document.add(com.itextpdf.text.Image.getInstance("/DolphinBase/" + playground.getpGroundList().get(count).getName() + ".jpg"));
                count++;
            }
            count = 0;
            //JOptionPane.showMessageDialog(new JFrame(), "      !");
            //   .
            Runtime.getRuntime().exec("cmd /C " + "/DolphinBase/Playground.pdf");

        } catch (IOException ex) {
            JOptionPane.showMessageDialog(new JFrame(), " Playground.pdf  ,      .",
                    "  !",
                    JOptionPane.ERROR_MESSAGE);
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            document.close();
        }
    }