1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-09-15 07:26:54 +00:00

6561 perform fewer repaints farther appart in order to reduce load on AWT

This commit is contained in:
William Schaefer
2020-07-21 12:04:36 -04:00
parent 1bac30d590
commit 424bb3d8bc
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ public final class DiscoveryTopComponent extends TopComponent {
private final ResultsPanel resultsPanel;
private int dividerLocation = -1;
private static final int ANIMATION_INCREMENT = 10;
private static final int ANIMATION_INCREMENT = 30;
private static final int RESULTS_AREA_SMALL_SIZE = 250;
private SwingAnimator animator = null;

View File

@@ -39,7 +39,7 @@ final class SwingAnimator {
private Timer timer = null;
//duration in milliseconds betweeen each firing of the Timer
private static final int INITIAL_TIMING = 10;
private static final int INITIAL_TIMING = 30;
private int timing = INITIAL_TIMING;
/**