diff --git a/Core/src/org/sleuthkit/autopsy/corecomponents/Installer.java b/Core/src/org/sleuthkit/autopsy/corecomponents/Installer.java index 5bcd68a03b..9c949d21a6 100644 --- a/Core/src/org/sleuthkit/autopsy/corecomponents/Installer.java +++ b/Core/src/org/sleuthkit/autopsy/corecomponents/Installer.java @@ -24,6 +24,7 @@ import java.util.Map; import java.util.TreeMap; import java.util.logging.Level; import javax.swing.BorderFactory; +import javax.swing.ImageIcon; import javax.swing.SwingUtilities; import javax.swing.UIManager; import javax.swing.UIManager.LookAndFeelInfo; @@ -75,6 +76,16 @@ public class Installer extends ModuleInstall { } private void setLookAndFeel() { + + ImageIcon questionIcon = new ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/images/question_32.png")); + ImageIcon warningIcon = new ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/images/warning_32.png")); + ImageIcon informationIcon = new ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/images/information_32.png")); + ImageIcon stopIcon = new ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/images/stop_32.png")); + UIManager.put("OptionPane.errorIcon", stopIcon); + UIManager.put("OptionPane.warningIcon", informationIcon); + UIManager.put("OptionPane.questionIcon", questionIcon); + UIManager.put("OptionPane.informationIcon", warningIcon); + if (System.getProperty("os.name").toLowerCase().contains("mac")) { //NON-NLS setUnixLookAndFeel(); setModuleSettings("false"); diff --git a/Core/src/org/sleuthkit/autopsy/images/information_32.png b/Core/src/org/sleuthkit/autopsy/images/information_32.png new file mode 100755 index 0000000000..4bef52bebc Binary files /dev/null and b/Core/src/org/sleuthkit/autopsy/images/information_32.png differ diff --git a/Core/src/org/sleuthkit/autopsy/images/question_32.png b/Core/src/org/sleuthkit/autopsy/images/question_32.png new file mode 100755 index 0000000000..224e5d3030 Binary files /dev/null and b/Core/src/org/sleuthkit/autopsy/images/question_32.png differ diff --git a/Core/src/org/sleuthkit/autopsy/images/stop_32.png b/Core/src/org/sleuthkit/autopsy/images/stop_32.png new file mode 100755 index 0000000000..7e445732c6 Binary files /dev/null and b/Core/src/org/sleuthkit/autopsy/images/stop_32.png differ diff --git a/Core/src/org/sleuthkit/autopsy/images/warning_32.png b/Core/src/org/sleuthkit/autopsy/images/warning_32.png new file mode 100755 index 0000000000..839c9cce0b Binary files /dev/null and b/Core/src/org/sleuthkit/autopsy/images/warning_32.png differ