You sir are a gentleman and a scholar.
I like that you gave me the answers I was looking for without just giving it to me. Made me think, and using my head, I figured it out, and instantly...
Type: Posts; User: Sylis
You sir are a gentleman and a scholar.
I like that you gave me the answers I was looking for without just giving it to me. Made me think, and using my head, I figured it out, and instantly...
Well, I use the methods to set the customer number, customer name, order quantity, and unit cost from Order, and then computePrice from a shipped order class in order to calculate the four dollars...
Shouldn't it be the ShippedOrder method? The first set of dialog boxes set up the information, and then the computeOrder() in Order computes only quantity * price, and the computeOrder uses quantity...
Yes I have.
import javax.swing.*;
public class Order
{
private String customer, numb, quant, unitPrice;
private int custNumber;
private double orderQuant, unitCost;
public double total;
Thank you, I figured it out by using:
import javax.swing.*;
public class UseOrder
{
public static void main(String[] args)
{
Order anOrder = new Order();...
You mean to instead of creating three different classes I should just have one class with an Order and ShippedOrder method in the one class? The assignment is to create three classes I can't really...
I'm having some trouble getting this program to work, my assignment deals with inheritance, and I'm basically trying to call my methods in main in order to run them.... so here's what I've gotten so...