64 |
*/ |
*/ |
65 |
public class HelpAboutDlg extends InformationDialog { |
public class HelpAboutDlg extends InformationDialog { |
66 |
private JLabel lProductName = |
private JLabel lProductName = |
67 |
new JLabel("<html>\n<font size=+1>Fantasia (version 0.7a)</font>"); |
new JLabel("<html>\n<font size=+1>JSampler Fantasia (version 0.8a)</font>"); |
68 |
|
|
69 |
private JLabel lAuthor = new JLabel(i18n.getLabel("HelpAboutDlg.lAuthor")); |
private JLabel lAuthor = new JLabel(i18n.getLabel("HelpAboutDlg.lAuthor")); |
70 |
private LinkButton btnAuthor = new Lnkbutton(i18n.getLabel("HelpAboutDlg.btnAuthor")); |
private LinkButton btnAuthor = new Lnkbutton(i18n.getLabel("HelpAboutDlg.btnAuthor")); |
300 |
private Lnkbutton btnLSWebsite = new Lnkbutton("www.linuxsampler.org"); |
private Lnkbutton btnLSWebsite = new Lnkbutton("www.linuxsampler.org"); |
301 |
private Lnkbutton btnJSWebsite = new Lnkbutton("sf.net/projects/jsampler"); |
private Lnkbutton btnJSWebsite = new Lnkbutton("sf.net/projects/jsampler"); |
302 |
|
|
303 |
|
private Button btnDocumentation = |
304 |
|
new Button(i18n.getButtonLabel("HelpAboutDlg.btnDocumentation")); |
305 |
|
|
306 |
|
private Button btnLSDevelopers = |
307 |
|
new Button(i18n.getButtonLabel("HelpAboutDlg.btnLSDevelopers")); |
308 |
|
|
309 |
private Button btnLSMailingList = |
private Button btnLSMailingList = |
310 |
new Button(i18n.getButtonLabel("HelpAboutDlg.btnLSMailingList")); |
new Button(i18n.getButtonLabel("HelpAboutDlg.btnLSMailingList")); |
311 |
|
|
355 |
c.gridwidth = 2; |
c.gridwidth = 2; |
356 |
c.insets = new Insets(12, 0, 0, 0); |
c.insets = new Insets(12, 0, 0, 0); |
357 |
c.anchor = GridBagConstraints.CENTER; |
c.anchor = GridBagConstraints.CENTER; |
358 |
|
gridbag.setConstraints(btnDocumentation, c); |
359 |
|
add(btnDocumentation); |
360 |
|
|
361 |
|
c.gridx = 0; |
362 |
|
c.gridy = 4; |
363 |
|
c.insets = new Insets(6, 0, 0, 0); |
364 |
|
gridbag.setConstraints(btnLSDevelopers, c); |
365 |
|
add(btnLSDevelopers); |
366 |
|
|
367 |
|
c.gridx = 0; |
368 |
|
c.gridy = 5; |
369 |
gridbag.setConstraints(btnLSMailingList, c); |
gridbag.setConstraints(btnLSMailingList, c); |
370 |
add(btnLSMailingList); |
add(btnLSMailingList); |
371 |
|
|
394 |
} |
} |
395 |
}); |
}); |
396 |
|
|
397 |
|
btnDocumentation.addActionListener(new ActionListener() { |
398 |
|
public void |
399 |
|
actionPerformed(ActionEvent e) { |
400 |
|
StdUtils.browse("http://www.linuxsampler.org/documentation.html"); |
401 |
|
} |
402 |
|
}); |
403 |
|
|
404 |
|
btnLSDevelopers.addActionListener(new ActionListener() { |
405 |
|
public void |
406 |
|
actionPerformed(ActionEvent e) { |
407 |
|
StdUtils.browse("http://www.linuxsampler.org/developers.html"); |
408 |
|
} |
409 |
|
}); |
410 |
|
|
411 |
btnLSMailingList.addActionListener(new ActionListener() { |
btnLSMailingList.addActionListener(new ActionListener() { |
412 |
public void |
public void |
413 |
actionPerformed(ActionEvent e) { |
actionPerformed(ActionEvent e) { |