Commit 6968619e authored by Human Gamer's avatar Human Gamer

Added About Dialog

parent b2432e9c
......@@ -359,6 +359,20 @@ public class DifInspector
this.menu.add(renderMenu);
JMenu helpMenu = new JMenu("Help");
JMenuItem aboutMenu = new JMenuItem("About");
aboutMenu.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e)
{
DifInspector.this.about();
}
});
helpMenu.add(aboutMenu);
this.menu.add(helpMenu);
this.panel.setLayout(new BorderLayout());
this.tabbedPane = new JTabbedPane();
......@@ -802,6 +816,11 @@ public class DifInspector
this.settings.setVisible(true);
}
public void about()
{
JOptionPane.showMessageDialog(this.frame, "Created By Matthieu Parizeau", "About", JOptionPane.INFORMATION_MESSAGE);
}
public void testBuild()
{
InteriorResource ir = new InteriorResource();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment