private void initialize(){
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        new JFrame();
        setSize(700,600);
        setResizable(false);
        setLocation(screenSize.width/2-getWidth()/2, screenSize.height/2-getHeight()/2);
        this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
        this.getContentPane().setLayout(null);


        initPopupMenu();
        initTextArea();
        initTextField();
        initButton();

        activField = "";
//        getSelectedText();
//        addText();
//        getContentPane().addMouseListener(new MouseAdapter() {
//            @Override
//            public void mousePressed(MouseEvent e) {
//                super.mousePressed(e);
//                if (e.getButton() == MouseEvent.BUTTON3)
//                    p = e.getPoint();
//
//
//            }
//        });
        setResizable(true);

    }