0
我想从我的主类调用我的JOptionPane
的方法。 有没有具体的方法来做到这一点?如何添加方法到JOptionPane
Dictionary word1 = new Dictionary(null);
CardCatalog catalog = new CardCatalog();
final ImageIcon welcome = new ImageIcon("welcome.jpg");
JOptionPane.showMessageDialog (null,"","WELCOME TO FLASH CARD",JOptionPane.INFORMATION_MESSAGE,welcome);