1 package org.telscenter.pas.hint.actions;
2
3 import java.awt.CardLayout;
4 import java.awt.event.ActionEvent;
5
6 import javax.swing.ImageIcon;
7 import javax.swing.JPanel;
8
9 public class HintNextAction extends HintAction {
10
11 public HintNextAction(String title, ImageIcon imageIcon, JPanel cards) {
12 super(title, imageIcon, cards );
13 }
14
15 public void actionPerformed(ActionEvent e) {
16 CardLayout cl = (CardLayout)(cards.getLayout());
17 cl.next(cards);
18 }
19
20 }