Search:

Type: Posts; User: jmack

Search: Search took 0.09 seconds.

  1. Replies
    1
    Views
    2,574

    Throwing an Exception in paintComponent

    Im writing a class called PolygonPanel. The class stores the users mouse clicks and redraws a polyline everytime the user clicks the mouse, then when the user presses the c key the polyline becomes a...
  2. Replies
    3
    Views
    3,312

    [SOLVED] InputMisMatchException

    I am working on a class called Bank that holds all the accounts in an arraylist, but first reads the accounts from a file and then creates each account. I am wondering what would be the best way to...
  3. [SOLVED] Re: Accessing methods of an object inside in ArrayList

    here is the Account Class



    import java.text.NumberFormat;

    public class Account
    {
    private final double RATE = 0.03; // interest rate of 3.0%
  4. [SOLVED] Accessing methods of an object inside in ArrayList

    I have created an arraylist in a class called bank below is a method i created in the bank class which is used to apply interest to all accounts in the array list by calling the method in the account...
  5. Replies
    4
    Views
    1,479

    [SOLVED] Re: Getting NullPointerException in program

    Yes it does seem to be the problem as all three programs have no trouble compiling, below is the error I get when I try to run the program

    Exception in thread "main"...
  6. Replies
    4
    Views
    1,479

    [SOLVED] Getting NullPointerException in program

    What I am trying to do is create a bank class (which uses an array to store the accounts) that has a create method which is used to create a new account in the bank. The method requires the user to...
Results 1 to 6 of 6