not sure how to apply either
I spent some time to figure out the cardLayout and I think I Will need more time learning how it works. The setContentPane, I tried :
and got "non-static method setContentPane(java.awt.Container) cannot be referenced from a static context" for the first and the commented part shows no error but does nothing either.
public void actionPerformed(ActionEvent arg0)
/* BookStoreFrame bkstr= new BookStoreFrame();
SalesPanel spnl = new SalesPanel();