diff --git a/src/com/bytezone/diskbrowser/applefile/PaletteFactory.java b/src/com/bytezone/diskbrowser/applefile/PaletteFactory.java index 11e842a..2083266 100644 --- a/src/com/bytezone/diskbrowser/applefile/PaletteFactory.java +++ b/src/com/bytezone/diskbrowser/applefile/PaletteFactory.java @@ -48,25 +48,6 @@ public class PaletteFactory 0xFFFFFF // F white })); - // palettes.add (new Palette ("Virtual II xx", - // new int[] { 0x000000, // 0 black - // 0x000099, // 8 dark blue (2) --> magenta - // 0x007722, // 4 dark green --> brown - // 0x2222FF, // C med blue (6) --> orange - // 0x885500, // 2 brown (8) --> dark green - // 0xAAAAAA, // A grey2 --> grey1 - // 0x11DD00, // 6 light green (C) - // 0x44FF99, // E aqua --> yellow - // 0xDD0033, // 1 magenta --> dark blue - // 0xDD22DD, // 9 purple (3) - // 0x555555, // 5 grey1 --> grey2 - // 0x66AAFF, // D light blue (7) --> pink - // 0xFF6600, // 3 orange (9) --> med blue - // 0xFF9988, // B pink --> light blue - // 0xFFFF00, // 7 yellow (D) --> aqua - // 0xFFFFFF // F white - // })); - // Applewin new (BB) palettes.add (new Palette ("Applewin (new)", new int[] { 0x000000, // 0 black diff --git a/src/com/bytezone/diskbrowser/gui/DataPanel.java b/src/com/bytezone/diskbrowser/gui/DataPanel.java index 3b4933f..16de4b2 100755 --- a/src/com/bytezone/diskbrowser/gui/DataPanel.java +++ b/src/com/bytezone/diskbrowser/gui/DataPanel.java @@ -153,6 +153,7 @@ class DataPanel extends JTabbedPane if (currentDataSource instanceof HiResImage) { HiResImage image = (HiResImage) currentDataSource; + image.setPalette (); imagePanel.setImage (image.getImage ()); } return palette;