1 2 package org.catacomb.druid.gui.base; 3 4 import org.catacomb.druid.swing.DCardPanel; 5 6 public class DruCardPanel extends DruPanel { 7 static final long serialVersionUID = 1001; 8 9 DCardPanel dCardPanel; 10 11 12 public DruCardPanel() { 13 dCardPanel = new DCardPanel(); 14 dPanel = dCardPanel; 15 } 16 17 18 19 public void nextCard() { 20 dCardPanel.nextCard(); 21 } 22 23 24 public void addPanel(DruPanel drup) { 25 setColors(drup); 26 addCardPanel(drup); 27 } 28 29 30 public void showCard(String s) { 31 ((DCardPanel)getGUIPeer()).showCard(s); 32 } 33 34 35 36 37 38 39 }