From 2364ee9c1ad72f32eb9c25671f73457d296f9147 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 5 Sep 2016 14:37:07 +0200 Subject: [PATCH] Updated comments for Swing active rendering --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e61b3b6..b3228c5 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,10 @@ Customization parameters: -ActiveRenderLoop.TARGET_FPS (type int, default value '30') - How many frames per second we want the Swing ActiveRender thread to run at? - - NOTE: The ActiveRenderLoop replaces the Swing EDT in order to enable smoother animations. + - NOTE: The ActiveRenderLoop replaces the Swing EDT (only for specified JFrames) in order to enable smoother animations. + It is also important to REMEMBER -- if you add a component to an actively managed JFrame, YOU MUST make sure to call + JComponent.setIgnoreRepaint(boolean) otherwise this component will "fight" on the EDT for updates. You can completely + disable the EDT by calling NullRepaintManager.install() -OS.FORCE_HIGH_RES_TIMER (type boolean, default value 'true')