mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-16 09:47:42 +00:00
Created new icons to fix JOption clip issue
This commit is contained in:
parent
0952403cf4
commit
2d496f9a7d
@ -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");
|
||||
|
BIN
Core/src/org/sleuthkit/autopsy/images/information_32.png
Executable file
BIN
Core/src/org/sleuthkit/autopsy/images/information_32.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
BIN
Core/src/org/sleuthkit/autopsy/images/question_32.png
Executable file
BIN
Core/src/org/sleuthkit/autopsy/images/question_32.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 941 B |
BIN
Core/src/org/sleuthkit/autopsy/images/stop_32.png
Executable file
BIN
Core/src/org/sleuthkit/autopsy/images/stop_32.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
Core/src/org/sleuthkit/autopsy/images/warning_32.png
Executable file
BIN
Core/src/org/sleuthkit/autopsy/images/warning_32.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1001 B |
Loading…
x
Reference in New Issue
Block a user