public JPanel createNamePanel(){
        namePanel = new JPanel();
        nameInput = new JTextField();
        nameInput.setText("John Doe");
        nameInput.setToolTipText("Your name !");
        nameInput.addFocusListener(new FocusListener() {

            @Override
            public void focusGained(FocusEvent fe) {
                if(nameInput.getText().equals("John Doe")) {
                nameInput.setText("");
                namePanel.setBorder(BorderFactory.createTitledBorder("Owner"));
                pack();
                } else {
                    nameInput.setText(nameInput.getText());
                    namePanel.setBorder(BorderFactory.createTitledBorder("Owner"));
                    
                }
            }

            @Override
            public void focusLost(FocusEvent fe) {
                if(nameInput.getText() == null || nameInput.getText().equals("")){
                    nameInput.setText("John Doe");
                    namePanel.setBorder(null);
                    
                }
            }
        });
        nameInput.setPreferredSize(new Dimension(120,20));
        namePanel.setLayout(new FlowLayout());
        namePanel.add(nameInput);
        
        return namePanel;
    }