View Single Post
  #5 (permalink)  
Old 07-31-2007, 05:37 AM
hardwired hardwired is offline
Senior Member
 
Join Date: Jul 2007
Posts: 1,266
hardwired is on a distinguished road
The next thing to do is check on the data that shows up in GraphPanel with something like this:
Code:
public GraphPanel(float[] p, float[] i) { principleData = p; interestData = i; System.out.printf("principalData = %s%ninterestData = %s%n", java.util.Arrays.toString(principalData), java.util.Arrays.toString(interestData)); font = new Font("lucida sans regular", Font.PLAIN, 16); setBackground(Color.white); }
Start tracking down where things aren't going the way you'd like.

Last edited by hardwired : 07-31-2007 at 05:39 AM. Reason: typo in printf
Reply With Quote