/[svn]/jsampler/trunk/src/org/jsampler/view/classic/HelpAboutDlg.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/view/classic/HelpAboutDlg.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2287 by iliev, Mon Aug 3 14:54:18 2009 UTC revision 2288 by iliev, Wed Nov 23 21:19:44 2011 UTC
# Line 1  Line 1 
1  /*  /*
2   *   JSampler - a java front-end for LinuxSampler   *   JSampler - a java front-end for LinuxSampler
3   *   *
4   *   Copyright (C) 2005-2009 Grigor Iliev <grigor@grigoriliev.com>   *   Copyright (C) 2005-2011 Grigor Iliev <grigor@grigoriliev.com>
5   *   *
6   *   This file is part of JSampler.   *   This file is part of JSampler.
7   *   *
# Line 39  import java.net.URL; Line 39  import java.net.URL;
39  import javax.swing.BorderFactory;  import javax.swing.BorderFactory;
40  import javax.swing.Box;  import javax.swing.Box;
41  import javax.swing.BoxLayout;  import javax.swing.BoxLayout;
 import javax.swing.ImageIcon;  
42  import javax.swing.JEditorPane;  import javax.swing.JEditorPane;
43  import javax.swing.JLabel;  import javax.swing.JLabel;
44  import javax.swing.JPanel;  import javax.swing.JPanel;
45  import javax.swing.JScrollPane;  import javax.swing.JScrollPane;
 import javax.swing.JSeparator;  
46  import javax.swing.JTextField;  import javax.swing.JTextField;
47    
48  import net.sf.juife.InformationDialog;  import net.sf.juife.swing.InformationDialog;
49  import net.sf.juife.JuifeUtils;  import net.sf.juife.swing.LinkButton;
 import net.sf.juife.LinkButton;  
50    
51  import org.jsampler.HF;  import org.jsampler.view.swing.SHF;
52    
53  import static org.jsampler.view.classic.ClassicI18n.i18n;  import static org.jsampler.view.classic.ClassicI18n.i18n;
54    
# Line 62  import static org.jsampler.view.classic. Line 59  import static org.jsampler.view.classic.
59   */   */
60  public class HelpAboutDlg extends InformationDialog {  public class HelpAboutDlg extends InformationDialog {
61          private JLabel lProductName =          private JLabel lProductName =
62                  new JLabel("<html>\n<font size=+1>JS Classic (version 0.9)</font>");                  new JLabel("<html>\n<font size=+1>JS Classic (version 0.9cvs2)</font>");
63                    
64          private JLabel lAuthor = new JLabel(i18n.getLabel("HelpAboutDlg.lAuthor"));          private JLabel lAuthor = new JLabel(i18n.getLabel("HelpAboutDlg.lAuthor"));
65          private JTextField tfAuthor = new JTextField(i18n.getLabel("HelpAboutDlg.tfAuthor"));          private JTextField tfAuthor = new JTextField(i18n.getLabel("HelpAboutDlg.tfAuthor"));
# Line 320  public class HelpAboutDlg extends Inform Line 317  public class HelpAboutDlg extends Inform
317          checkDesktopSupported() {          checkDesktopSupported() {
318                  if(Desktop.isDesktopSupported()) return true;                  if(Desktop.isDesktopSupported()) return true;
319                                    
320                  HF.showErrorMessage(i18n.getError("HelpAboutDlg.DesktopApiNotSupported"), this);                  SHF.showErrorMessage(i18n.getError("HelpAboutDlg.DesktopApiNotSupported"), this);
321                                    
322                  return false;                  return false;
323          }          }

Legend:
Removed from v.2287  
changed lines
  Added in v.2288

  ViewVC Help
Powered by ViewVC