User Profile

Collapse

Profile Sidebar

Collapse
iricongi
iricongi
Last Activity: Sep 1 '08, 08:07 PM
Joined: Sep 1 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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;...
    See more | Go to post
    Last edited by Nepomuk; Sep 2 '08, 07:26 AM. Reason: Please use [code] tags - it really helps!

    Leave a comment:


  • 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)...
    See more | Go to post

    Leave a comment:


  • iricongi
    started a topic Filling object Array / retrieving the data (help)
    in Java

    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;...
    See more | Go to post
    Last edited by Nepomuk; Sep 1 '08, 08:00 AM. Reason: Please use [code] tags
No activity results to display
Show More
Working...