public JPanel createBalancePanel(){
        balancePanel = new JPanel();
        balanceInput = new JTextField();
        balanceInput.setText("0.00 €");
        balanceInput.setToolTipText("The amount of money the wallet already has.");
        balanceInput.addFocusListener(new FocusListener() {

            @Override
            public void focusGained(FocusEvent fe) {
                if(balanceInput.getText().equals("0.00 €")){
                balanceInput.setText("");
                balancePanel.setBorder(BorderFactory.createTitledBorder("Balance"));
                pack();
                }
            }

            @Override
            public void focusLost(FocusEvent fe) {
                if(balanceInput.getText() == null || balanceInput.getText().equals("")){
                    balanceInput.setText("0.00 €");
                    balancePanel.setBorder(null);
                    
                } else if (balanceInput.getText().contains("€")){
                    balanceInput.setText(balanceInput.getText().replaceAll("€", ""));
                }
            }
        });
        balanceInput.setPreferredSize(new Dimension(120,20));
        balancePanel.setLayout(new FlowLayout());
        balancePanel.add(balanceInput);
        
        return balancePanel;
    }