Skip to content

Commit

Permalink
Replaced old About PICEDIT box with a basic Java dialog.
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Sep 13, 2011
1 parent 87c954c commit 83f022f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions picedit/src/com/agifans/picedit/CommonHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,9 @@ public void mousePressed(MouseEvent e) {
* Displays the 'About' PICEDIT message box.
*/
protected void showAboutMessage() {
picGraphics.drawMessageBox(64, 69, 255, 116);
picGraphics.drawString(" PICEDIT 1.3M4 ", 72, 77, 0, 15);
picGraphics.drawString(" by ", 72, 89, 0, 15);
picGraphics.drawString(" Lance Ewing ", 72, 101, 0, 15);
waitForKeyStrokeOrMouseClick(null);
JOptionPane.showMessageDialog(application,
"<html><h2 style=\"text-align: center\">PICEDIT v1.3M4</h2><br/><p style=\"text-align: center\">by Lance Ewing</p><br/></html>",
"About PICEDIT", JOptionPane.INFORMATION_MESSAGE);
}

/**
Expand Down

0 comments on commit 83f022f

Please sign in to comment.