From b9743ee456a47e4ea91ac38219477c209525b901 Mon Sep 17 00:00:00 2001 From: Downforce Agent Date: Sat, 29 Jun 2024 00:55:16 -0500 Subject: [PATCH] less redundancy --- src/MissPiggy.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/MissPiggy.java b/src/MissPiggy.java index bcc5cdc..9ec1ab6 100644 --- a/src/MissPiggy.java +++ b/src/MissPiggy.java @@ -343,30 +343,30 @@ public class MissPiggy implements ActionListener { public void removeAllGUI() { // todo warning dialog that nukes list when Yes is clicked - JOptionPane.showMessageDialog(frame, "Unimplemented.", "Unimplemented", JOptionPane.INFORMATION_MESSAGE); + throwUnimplemented(); } public void optionsGUI() { // todo settings page w/ reset switch - JOptionPane.showMessageDialog(frame, "Unimplemented.", "Unimplemented", JOptionPane.INFORMATION_MESSAGE); + throwUnimplemented(); } public void generatorGUI() { // todo mod packer - JOptionPane.showMessageDialog(frame, "Unimplemented.", "Unimplemented", JOptionPane.INFORMATION_MESSAGE); + throwUnimplemented(); } public void metaEditorGUI() { // todo tag editor - JOptionPane.showMessageDialog(frame, "Unimplemented.", "Unimplemented", JOptionPane.INFORMATION_MESSAGE); + throwUnimplemented(); } public void aboutGUI() { // todo about page - JOptionPane.showMessageDialog(frame, "Unimplemented.", "Unimplemented", JOptionPane.INFORMATION_MESSAGE); + throwUnimplemented(); } public void throwUnimplemented() { - JOptionPane.showMessageDialog(frame, "Unimplemented.", "Unimplemented", JOptionPane.INFORMATION_MESSAGE); + JOptionPane.showMessageDialog(frame, "Unimplemented.\nSee README at https://git.worlio.com/bonkmaykr/firestar", "Unimplemented", JOptionPane.INFORMATION_MESSAGE); } }