public JPanel createPasswordPanel(){
        passwordPanel = new JPanel();
        passwordInput = new JPasswordField();
        passwordInput.setText("Password");
        passwordInput.setToolTipText("The password to open your wallet. Try something sneaky !");
        passwordInput.addFocusListener(new FocusListener() {

            @Override
            public void focusGained(FocusEvent fe) {
                if(passwordInput.getText().equals("Password")){
                passwordInput.setText("");
                passwordPanel.setBorder(BorderFactory.createTitledBorder("Password"));
                pack();
                }
            }

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