This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 67037
Collapse All | Expand All

(-)BasicScrollingTabDisplayerUI.java (+2 lines)
Lines 337-346 Link Here
337
                GraphicsConfiguration gc = getGraphicsConfiguration();
337
                GraphicsConfiguration gc = getGraphicsConfiguration();
338
                Image intermediateImage = gc.createCompatibleImage(16, 18, Transparency.BITMASK);
338
                Image intermediateImage = gc.createCompatibleImage(16, 18, Transparency.BITMASK);
339
                Graphics2D gImg = (Graphics2D)intermediateImage.getGraphics();
339
                Graphics2D gImg = (Graphics2D)intermediateImage.getGraphics();
340
                Composite old = gImg.getComposite();
340
                gImg.setComposite(AlphaComposite.Src);
341
                gImg.setComposite(AlphaComposite.Src);
341
                gImg.setColor(new Color(0, 0, 0, 0));
342
                gImg.setColor(new Color(0, 0, 0, 0));
342
                gImg.fillRect(0, 0, 16, 18);
343
                gImg.fillRect(0, 0, 16, 18);
343
                gImg.setClip( 0, 0, 16, 18 );
344
                gImg.setClip( 0, 0, 16, 18 );
345
                gImg.setComposite(old);
344
                super.paintComponent(gImg);
346
                super.paintComponent(gImg);
345
                gImg.dispose();
347
                gImg.dispose();
346
                if (enabled) {
348
                if (enabled) {

Return to bug 67037