Permalink
Browse files

[Icons] Remove debug code from MCTIcons

  • Loading branch information...
1 parent af2973f commit 5e9eb54ebf8ffeb3020d4d47438ad2ac77c4b809 @VWoeltjen VWoeltjen committed Sep 13, 2013
Showing with 1 addition and 19 deletions.
  1. +1 −19 util/src/main/java/gov/nasa/arc/mct/util/MCTIcons.java
@@ -402,24 +402,6 @@ private boolean colorsEqual(Color a, Color b) {
}
}
}
-
- private static void showIcon (ImageIcon icon) {
- JFrame frame = new JFrame();
- JLabel label = new JLabel(icon);
- frame.getContentPane().add(label);
- frame.getContentPane().setBackground(Color.BLACK);
- frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- frame.setVisible(true);
- frame.pack();
- }
-
- public static void main(String[] args) {
- showIcon(
- processIcon (
- generateIcon((int)(Math.random() * 100000f), 128, Color.WHITE),
- Color.PINK, Color.BLUE,
- false
- ));
- }
+
}

0 comments on commit 5e9eb54

Please sign in to comment.