From: luukkainen Date: Fri, 9 Aug 2013 13:33:06 +0000 (+0000) Subject: Reducing temporary AWT-thread lock-ups. X-Git-Tag: 1.8.1~256 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=319b501ef4cc37280711f6be58a8c5e37a720e0f;p=simantics%2Fsysdyn.git Reducing temporary AWT-thread lock-ups. refs #4387 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27738 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/ChartComposite.java b/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/ChartComposite.java index fa6bb32b..68eaa94f 100644 --- a/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/ChartComposite.java +++ b/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/ChartComposite.java @@ -133,7 +133,7 @@ public class ChartComposite extends Composite { JFreeChart chart = (JFreeChart)getObject(); panel = new ChartPanel(chart, false, true, true, true, true); frame.add(panel); - frame.repaint(); +// frame.repaint(); frame.validate(); } });