Created
November 13, 2012 20:03
-
-
Save mudgen/4068032 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn -getIcon | |
[this kind] | |
(condp some #(= kind %) | |
[BeanInfo/ICON_COLOR_16x16 | |
BeanInfo/ICON_MONO_16x16] (load-icon this "/images/hello_world_16.png") | |
[BeanInfo/ICON_COLOR_32x32 | |
BeanInfo/ICON_MONO_32x32] (load-icon this "/images/hello_world_32.png"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment