You need to read the API doc and tutorial about how to use CardLayout.
The code does not tell the layout the names of the components.
http://docs.oracle.com/javase/tutorial/uiswing/layout/card.html...
Type: Posts; User: Norm
You need to read the API doc and tutorial about how to use CardLayout.
The code does not tell the layout the names of the components.
http://docs.oracle.com/javase/tutorial/uiswing/layout/card.html...
What is it supposed to do when there is bad input?
The posted code does not compile without compiler errors.
The code is poorly formatted. Many lines are not indented inside of {}s that should...