Ok, I'll take a look at that. Thanks!
Type: Posts; User: Ormolu611
Ok, I'll take a look at that. Thanks!
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...
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 {
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...
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...
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...
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...