[Patchanim-commit] SF.net SVN: patchanim: [15] trunk/patchanim/src/com/mebigfatguy/patchanim/ gui/J
Brought to you by:
dbrosius
From: <dbr...@us...> - 2008-01-26 05:15:35
|
Revision: 15 http://patchanim.svn.sourceforge.net/patchanim/?rev=15&view=rev Author: dbrosius Date: 2008-01-25 21:15:39 -0800 (Fri, 25 Jan 2008) Log Message: ----------- no need for the color borders, anymore Modified Paths: -------------- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchSamplePanel.java Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchSamplePanel.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchSamplePanel.java 2008-01-26 05:12:25 UTC (rev 14) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchSamplePanel.java 2008-01-26 05:15:39 UTC (rev 15) @@ -187,13 +187,6 @@ public void paintComponent(Graphics g) { Rectangle bounds = getBounds(); g.drawImage(image, 0, 0, (int)bounds.getWidth(), (int)bounds.getHeight(), 0, 0, SAMPLE_SIZE, SAMPLE_SIZE, null); - Insets insets = getInsets(); - bounds.x += insets.left; - bounds.y += insets.top; - bounds.width -= (insets.left + insets.right) + 1; - bounds.height -= (insets.top + insets.bottom) + 1; - g.setColor(rgb); - g.drawRect(bounds.x, bounds.y, bounds.width, bounds.height); if (decorator != null) decorator.drawDecoration(((Graphics2D) g), g.getClipBounds()); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |