4632N/A final AquaPainter<JRSUIState> painter = AquaPainter.create(JRSUIStateFactory.getSplitPaneDivider());
4632N/A super.propertyChange(e);
4632N/A if (horizontal) {
4632N/A static final LazyKeyedSingleton<Integer, Image> directionArrows = new LazyKeyedSingleton<Integer, Image>() {
4632N/A return AquaUtils.generateLightenedImage(arrowImage.getScaledInstance(w, h, Image.SCALE_SMOOTH), 50);
4632N/A // see <rdar://problem/7590946> JSplitPane is not serializable when using Aqua look and feel
4632N/A final JButton button = new JButton(new ImageIcon(directionArrows.get(Integer.valueOf(direction))));
4632N/A final int blockSize = Math.min(getDividerSize(), kMaxPopupArrowSize); // make it 1 less than divider, or kMaxPopupArrowSize
4632N/A private static final RecyclableSingleton<HorizontalSplitDividerGradientPainter> instance = new RecyclableSingletonFromDefaultConstructor<HorizontalSplitDividerGradientPainter>(HorizontalSplitDividerGradientPainter.class);
4632N/A public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) {
4632N/A if (!(g instanceof Graphics2D)) return;