PAUSE_ICON = SwingUtil.createImageIcon(IMAGES_PAUSE_JPEG); PLAY_ICON = SwingUtil.createImageIcon(IMAGES_PLAY_JPEG); this.playAction = new AbstractAction(null, PAUSE_ICON) { this.stepAction = new AbstractAction(null, SwingUtil.createImageIcon(IMAGES_STEP_JPEG)) { this.stopAction = new AbstractAction(null, SwingUtil.createImageIcon(IMAGES_STOP_JPEG)) {
renderer.setOpenIcon(SwingUtil.createImageIcon("opened.gif")); renderer.setClosedIcon(SwingUtil.createImageIcon("closed.gif")); renderer.setLeafIcon(SwingUtil.createImageIcon("leaf.gif")); } catch (RuntimeException e) { logger.warn("Failed to load image icons. " + "It will use the default icons instead.", e);