Hi,
Im playing about with awt and Swing and Id like to create a wizard like dialog. I figured the easiest way at first glance was to use a cardlayout for the main part of the dialog.
The problem Im having is that using the previous() and next() methods of CardLayout, I cant prevent my Next and Previous buttons from looping round to the first card again. Is there anyway I can
test for the next card?
Any help greatly appreciated!
Cheers,
Mark
My code listing is below