|
|
|
@ -6,6 +6,7 @@ import com.fr.module.ModuleContext;
|
|
|
|
|
import com.fr.value.ClearableLazyValue; |
|
|
|
|
import org.jetbrains.annotations.NotNull; |
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
|
import java.util.concurrent.ScheduledExecutorService; |
|
|
|
|
import java.util.concurrent.TimeUnit; |
|
|
|
|
|
|
|
|
@ -32,12 +33,9 @@ public class ColorPickerPaneNumFiled extends UINumberField {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
protected void attributeChange() { |
|
|
|
|
ses.getValue().schedule(new Runnable() { |
|
|
|
|
@Override |
|
|
|
|
public void run() { |
|
|
|
|
ses.getValue().schedule(() -> { |
|
|
|
|
// kuns: 默认修改500, 在地图修改系列颜色text时, 快速响应.
|
|
|
|
|
runChange(); |
|
|
|
|
} |
|
|
|
|
SwingUtilities.invokeLater(this::runChange); |
|
|
|
|
}, 500, TimeUnit.MILLISECONDS); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|