1 9 10 package org.enhydra.jawe.actions; 11 12 import org.enhydra.jawe.*; 13 14 import java.util.*; 15 import javax.swing.*; 16 import java.awt.event.ActionEvent ; 17 18 21 public class HelpAbout extends ActionBase { 22 23 private JDialog aboutDlg; 24 25 public HelpAbout (PackageEditor editor) { 26 super(editor); 27 } 28 29 public void actionPerformed(ActionEvent e) { 30 if(aboutDlg == null) { 31 try { 32 String title = ResourceManager.getLanguageDependentString("AboutFrameTitle"); 33 JaWEAboutDialog.showAbout((JFrame)editor.getWindow(), title, JaWE.getLogoIcon()); 34 } catch (MissingResourceException mre) { 35 JaWEAboutDialog.showAbout((JFrame)editor.getWindow(), 36 "About Process Editor", JaWE.getLogoIcon()); 37 } 38 } 39 } 40 } 41 | Popular Tags |