I'm working with 4X4 grid of buttons (16). I need to change all the buttons when I click a the "New game". I tried removeAll() of panel and than tried to call the same class to create 16 buttons again for the panel. But it didn't work.
Following is the similar program I'm stuck with. Please help me with the code.