1
0
mirror of https://github.com/moparisthebest/davmail synced 2025-02-28 09:21:49 -05:00

Add Help button on settings panel

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@350 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-02-11 23:06:59 +00:00
parent c0127ddef5
commit bb71ebf95a

View File

@ -328,6 +328,7 @@ public class SettingsFrame extends JFrame {
JPanel buttonPanel = new JPanel();
JButton cancel = new JButton("Cancel");
JButton ok = new JButton("Save");
JButton help = new JButton("Help");
ActionListener save = new ActionListener() {
public void actionPerformed(ActionEvent evt) {
// save options
@ -372,8 +373,15 @@ public class SettingsFrame extends JFrame {
}
});
help.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
DesktopBrowser.browse("http://davmail.sourceforge.net");
}
});
buttonPanel.add(ok);
buttonPanel.add(cancel);
buttonPanel.add(help);
add("South", buttonPanel);