@Override
        public void actionPerformed(ActionEvent e) {            
            if(e.getActionCommand().equals("next")){
                navigate.setActionCommand("forward");
                navigate.setIcon(nextIcon);
                ready.setActionCommand("backfirst");
                ready.setIcon(backIcon);
                ready.setVisible(true);
                firstPage = false;
                secondPage = true;
            }
            else if(e.getActionCommand().equals("backfirst")){                
                navigate.setActionCommand("next");
                navigate.setIcon(nextIcon);
                ready.setVisible(false);
                firstPage = true;
                secondPage = false;
            }
            else if(e.getActionCommand().equals("backsecond")){                
                navigate.setActionCommand("forward");
                navigate.setIcon(nextIcon);
                ready.setActionCommand("backfirst");
                thirdPage = false;
                secondPage = true;
            }
            else if(e.getActionCommand().equals("forward")){  
                navigate.setActionCommand("ready");
                navigate.setIcon(readyIcon);
                ready.setIcon(backIcon);
                ready.setActionCommand("backsecond");
                secondPage = false;
                thirdPage = true;
            }
            else if(e.getActionCommand().equals("ready")){  
                setFinished(true);
            }
        }// end action performed