krysalis-jcharts/src/java/org/krysalis/jcharts/designer ChartPanel.java,1.2,1.3

"Nathaniel G. Auvil" <[email protected]> Wed, 09 Jun 2004 01:45:55 +0000
Newsgroups gmane.comp.krysalis.jcharts.cvs
Message-ID <[email protected]>
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
  	}



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org