Stop DropShadowBorder Console Logging

I have a base class that extends JButton and uses SwingX DropShadowBorder to add a simple border. The problem is that it displays a temporary fraction in milliseconds every time I hover over a button. Is there any way to disable this log? This is the code I'm using:

DropShadowBorder sb = new DropShadowBorder();
sb.paintBorder(this, g2, 25, 15, 625, 525);

The result is as follows:

1ms
0ms
1ms
1ms
0ms
+3
source share
1 answer

Looking at the source code for DropShadowBorder, I do not see console output. ( http://www.java2s.com/Open-Source/Java-Document/Swing-Library/swingx/org/jdesktop/swingx/border/DropShadowBorder.java.htm )

It should come from your button or code.

0
source

Source: https://habr.com/ru/post/1784124/


All Articles