From: Nathaniel G. A. <nat...@us...> - 2004-06-09 01:46:07
|
Update of /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/designer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23697/src/java/org/krysalis/jcharts/designer Modified Files: ChartPanel.java Log Message: Index: ChartPanel.java =================================================================== RCS file: /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/designer/ChartPanel.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ChartPanel.java 3 Jun 2004 00:59:17 -0000 1.2 --- ChartPanel.java 9 Jun 2004 01:45:53 -0000 1.3 *************** *** 78,82 **** public void setChart( Chart chart, int width, int height ) { this.chart = chart; ! super.setSize( width, height ); //todo this does not set the size correctly } --- 78,82 ---- public void setChart( Chart chart, int width, int height ) { this.chart = chart; ! super.setPreferredSize( new Dimension( width, height ) ); //todo this does not set the size correctly } |