Search:

Type: Posts; User: Ormolu611

Search: Search took 0.07 seconds.

  1. Replies
    10
    Views
    1,410

    Re: I am not getting the result I need

    Ok, I'll take a look at that. Thanks!
  2. Replies
    10
    Views
    1,410

    Re: I am not getting the result I need

    amountLbl.setText(Item.getItemName());


    With this line of code, I receive an error message that says: Cannot make a static reference to the non-static method getItemName() from the type Item. It...
  3. Replies
    10
    Views
    1,410

    Re: I am not getting the result I need

    Okay, I have another one - but it is related. My problem starts with two existing classes: Item and ItemApp.

    Here is Item



    package c2;

    public class Item {
  4. Replies
    10
    Views
    1,410

    Re: I am not getting the result I need

    Nevermind guys...I think I stumbled upon the answer...thanks in advance for any future help, because I'll be back!

    --- Update ---

    Thanks Norm. I think I figured it out - and you are absolutely...
  5. Replies
    10
    Views
    1,410

    Re: I am not getting the result I need

    Why would this class "CustApp' be displaying the results of the earlier class, 'CustFrame' when I am creating a new instance of the CustFrame class? Shouldn't a new class be starting from a clean...
  6. Replies
    10
    Views
    1,410

    Re: I am not getting the result I need

    I guess I am confused as to why the setters in the recent class have no effect and are not returned? I continue to get the same results that I get from the CustFrame class. To me, it seems like the...
  7. Replies
    10
    Views
    1,410

    I am not getting the result I need

    I am trying to create a frame by creating a class called CustApp. In the main method, I am trying to write code in the main method that will create a Customer object, assign to variable c. I am then...
Results 1 to 7 of 7