[Solved] Why aren’t my values transferring over


In your else block in actionPerformed you exit before reaching validate().

The problem is probably the following:

You are adding the numOweLbl to your UI, but you never set the text of it to totalOwed.

Before you do container.add(numOweLbl) you need to set its text.

numOweLbl.setText(totalOwed)

solved Why aren’t my values transferring over