if (height > 0) { if (c.getComponentOrientation().isLeftToRight()) { graphics.drawImage(SubstanceImageCreator.getDragImage( c, scheme, dragBumpsWidth, height, 2), 2, 1, null); } else { graphics.drawImage(SubstanceImageCreator.getDragImage( c, scheme, dragBumpsWidth, height, 2), c .getBounds().width graphics.drawImage(SubstanceImageCreator.getDragImage(c, scheme, width, dragBumpsWidth, 2), 2, 2, null);
if (height > 0) { if (c.getComponentOrientation().isLeftToRight()) { graphics.drawImage(SubstanceImageCreator.getDragImage( c, scheme, dragBumpsWidth, height, 2), 2, 1, null); } else { graphics.drawImage(SubstanceImageCreator.getDragImage( c, scheme, dragBumpsWidth, height, 2), c .getBounds().width graphics.drawImage(SubstanceImageCreator.getDragImage(c, scheme, width, dragBumpsWidth, 2), 2, 2, null);