Thanks, it works now. I still have quite a bit of work to do on it. But that part is functioning. The new code is listed below.
[code=java]
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package stock;
import java.awt.Color;
import java.awt.Contai ner;
import java.awt.event. ActionEvent;
import java.awt.event. ActionListener;...
User Profile
Collapse
-
-
Sorry about that. I thought of that shortly after posting. The errors and line numbers are as follows. The first two I think are the important ones.
run:
nos == 1
Number of Stocks integer = 1
tickerField = ts
companyField = cs
high = 35.0
low = 25.0
Exception in thread "AWT-EventQueue-0" java.lang.NullP ointerException
at stock.Portfolio Manager.fillSto ckArray(Portfol ioManager.java: 188)...Leave a comment:
-
Filling object Array / retrieving the data (help)
I am trying to build this application and I keep getting a null pointer exception. however the data seems to be there. Can anyone take a look and give me a hand?
[code=java]
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package stock;
import java.awt.Color;
import java.awt.Contai ner;
import java.awt.event. ActionEvent;...
No activity results to display
Show More
Leave a comment: