You must add your components to some component hierarchy that is eventually held by a JFrame or other visualized top-level window. Simple as that. You're creating JPanels adding components to them,...
Type: Posts; User: curmudgeon
You must add your components to some component hierarchy that is eventually held by a JFrame or other visualized top-level window. Simple as that. You're creating JPanels adding components to them,...
Your code is very confused and confusing including use of more than one JFrame (the window variable and the RetailCalculator current object itself) -- which JFrame is the one that is supposed to be...