I am getting I believe three erros in this code. I had it running perfect untill I added all the restock fee items.
This is what I have so far: -
import java.util.*; // program uses class Scanner
-
-
public class Inventory
-
{
-
// main method begins execution of Java application
-
public static void main( String args[])
-
{
-
product[] myProduct = new product[5];
-
-
product p1 = new product("Tom Clancy Vegas", 20003, 5, 30);
-
product p2 = new product("Froger", 74512, 2, 10);
-
product p3 = new product("Halo 2", 20009, 3, 45);
-
product p4 = new product("Night Caster", 74522, 8, 5);
-
product p5 = new product("Halo 3", 32976, 1, 50);
-
-
myProduct[0] = p1;
-
myProduct[1] = p2;
-
myProduct[2] = p3;
-
myProduct[3] = p4;
-
myProduct[4] = p5;
-
-
double totalValue = 0.0;
-
-
for (int c=0; c < 5; c++)
-
{
-
totalValue = totalValue + myProduct[c].itemCalculate();
-
}
-
-
Arrays.sort(myProduct); // function used to sort arrays
-
-
for(product p: myProduct)
-
{
-
System.out.println(p);
-
System.out.println();
-
}
-
System.out.println("Total Inventory value is: $"+totalValue);
-
-
} //end main
-
-
} //end Inventory
-
-
The above works fine, the errors appear here below (I think because I only changed the below and got errors. -
-
import java.util.*; // program uses any class available
-
-
class product implements Comparable
-
{
-
private String productName; // class variable that stores the item name
-
private int itemNumber; // class variable that stores the item number
-
private double unitProduct; // class variable that stores the quantity in
-
-
stock
-
private double priceProduct; // class variable that stores the item price
-
-
/** Creates a new instance of product */
-
public product() // Constructor for Product class
-
{
-
productName = "";
-
itemNumber = 0;
-
unitProduct = 0.0;
-
priceProduct = 0.0;
-
}
-
public product( String productName, int itemNumber, double unitProduct,
-
-
double priceProduct) // Constructor for myProduct class
-
{
-
this.productName = productName;
-
this.itemNumber = itemNumber;
-
this.unitProduct = unitProduct;
-
this.priceProduct = priceProduct;
-
}
-
-
public void setProductName(String name) // Method to set the item
-
-
name
-
{
-
this.productName = productName;
-
}
-
public String getProductName() // Method to get the item name
-
{
-
return productName;
-
}
-
public void setItemNumber(int number) // Method to set the item
-
-
number
-
{
-
this.itemNumber = itemNumber;
-
}
-
public int getItemNumber() // Method to get the item name
-
{
-
return itemNumber;
-
}
-
public void setUnitProduct(double unit) // Method to set the item
-
-
number
-
{
-
this.unitProduct = unitProduct;
-
}
-
public double getUnitProduct() // Method to get the item name
-
{
-
return unitProduct;
-
}
-
public void setPriceProduct(double price) // Method to set the item
-
-
number
-
{
-
this.priceProduct = priceProduct;
-
}
-
public double getPriceProduct() // Method to get the item name
-
{
-
return priceProduct;
-
}
-
-
// Calculation method
-
public double itemCalculate()
-
{
-
return unitProduct * priceProduct * 2; // multiply for total for
-
-
each item
-
-
} // end calculation
-
public int compareTo (Object o) // use the compareTo method
-
{
-
product p = (product)o;
-
return productName.compareTo(p.getProductName());
-
}
-
-
public String toString() // displays products
-
{
-
return "Title: "+productName+
-
"\nBarcode: "+itemNumber+
-
"\nNumber of Xbox games: "+(int)unitProduct+
-
"\nPrice: $"+priceProduct+
-
"\nTotal: $"+itemCalculate();
-
} // end toString
-
-
-
}//end class Supplies
-
30 2519
Care to show us the entire error and printed stack trace (shows where the error occurs)?
-blazed
Care to show us the entire error and printed stack trace (shows where the error occurs)?
-blazed
I have been compiling within the bin folders at the cmd prompt.
Product.java:61 cannot find symbol
symbol : method value<>
location: class product
return value<> * 0.05;
Product.java:65 cannot find symbol
symbol : method value<>
location: class product
return value<> * 0.05;
Product.java:82 cannot find symbol
symbol : method value<>
location: class product
return value<> * 0.05;
3 errors
I have been compiling within the bin folders at the cmd prompt.
Product.java:61 cannot find symbol
symbol : method value<>
location: class product
return value<> * 0.05;
Product.java:65 cannot find symbol
symbol : method value<>
location: class product
return value<> * 0.05;
Product.java:82 cannot find symbol
symbol : method value<>
location: class product
return value<> * 0.05;
3 errors
Hi,
I think you have posted errors of different code..........errors doesnt belong to the code u have posted. check it again..
Thanks and regards,
madhoriya
Yep your right.... That's what happens when your tired.
here it is: -
-
import java.util.*; // program uses any class available
-
-
class product implements Comparable
-
{
-
private String productName; // class variable that stores the item name
-
private int itemNumber; // class variable that stores the item number
-
private double unitProduct; // class variable that stores the quantity in stock
-
private double priceProduct; // class variable that stores the item price
-
-
/** Creates a new instance of product */
-
public product() // Constructor for Product class
-
{
-
productName = "";
-
itemNumber = 0;
-
unitProduct = 0.0;
-
priceProduct = 0.0;
-
}
-
public product( String productName, int itemNumber, double unitProduct, double priceProduct) // Constructor for myProduct class
-
{
-
this.productName = productName;
-
this.itemNumber = itemNumber;
-
this.unitProduct = unitProduct;
-
this.priceProduct = priceProduct;
-
}
-
-
public void setProductName(String name) // Method to set the item name
-
{
-
this.productName = productName;
-
}
-
public String getProductName() // Method to get the item name
-
{
-
return productName;
-
}
-
public void setItemNumber(int number) // Method to set the item number
-
{
-
this.itemNumber = itemNumber;
-
}
-
public int getItemNumber() // Method to get the item name
-
{
-
return itemNumber;
-
}
-
public void setUnitProduct(double unit) // Method to set the item number
-
{
-
this.unitProduct = unitProduct;
-
}
-
public double getUnitProduct() // Method to get the item name
-
{
-
return unitProduct;
-
}
-
public void setPriceProduct(double price) // Method to set the item number
-
{
-
this.priceProduct = priceProduct;
-
}
-
public double getPriceProduct() // Method to get the item name
-
{
-
return priceProduct;
-
}
-
public double setRestockFee() // Method to set the Restocking fee
-
{
-
return value() * 0.05;
-
}
-
public double getRestockFee() // Method to set the Restocking fee
-
{
-
return value() * 0.05;
-
}
-
-
-
// Calculation method
-
public double itemCalculate()
-
{
-
return unitProduct * priceProduct; // multiply for total for each item
-
-
} // end calculation
-
public int compareTo (Object o) // use the compareTo method
-
{
-
product p = (product)o;
-
return productName.compareTo(p.getProductName());
-
}
-
public double RestockFee() // Method to set the Restocking fee
-
{
-
return value() * 0.05;
-
} // end
-
-
public String toString() // displays products
-
{
-
return "Title: "+productName+
-
"\nBarcode: "+itemNumber+
-
"\nNumber of Xbox games: "+(int)unitProduct+
-
"\nPrice: $"+priceProduct+
-
"\nTotal: $"+itemCalculate();
-
} // end toString
-
-
-
}//end class Supplies
-
class product implements Comparable
{
private String productName; // class variable that stores the item name
private int itemNumber; // class variable that stores the item number
private double unitProduct; // class variable that stores the quantity in stock
private double priceProduct; // class variable that stores the item price
/** Creates a new instance of product */
public product() // Constructor for Product class
{
productName = "";
itemNumber = 0;
unitProduct = 0.0;
priceProduct = 0.0;
}
public product( String productName, int itemNumber, double unitProduct, double priceProduct) // Constructor for myProduct class
{
this.productName = productName;
this.itemNumber = itemNumber;
this.unitProduct = unitProduct;
this.priceProduct = priceProduct;
}
public void setProductName(String name) // Method to set the item name
{
this.productName = productName;
}
public String getProductName() // Method to get the item name
{
return productName;
}
public void setItemNumber(int number) // Method to set the item number
{
this.itemNumber = itemNumber;
}
public int getItemNumber() // Method to get the item name
{
return itemNumber;
}
public void setUnitProduct(double unit) // Method to set the item number
{
this.unitProduct = unitProduct;
}
public double getUnitProduct() // Method to get the item name
{
return unitProduct;
}
public void setPriceProduct(double price) // Method to set the item number
{
this.priceProduct = priceProduct;
}
public double getPriceProduct() // Method to get the item name
{
return priceProduct;
}
public double setRestockFee() // Method to set the Restocking fee
{
return value() * 0.05;
}
public double getRestockFee() // Method to set the Restocking fee
{
return value() * 0.05;
}
// Calculation method
public double itemCalculate()
{
return unitProduct * priceProduct; // multiply for total for each item
} // end calculation
public int compareTo (Object o) // use the compareTo method
{
product p = (product)o;
return productName.compareTo(p.getProductName());
}
public double RestockFee() // Method to set the Restocking fee
{
return value() * 0.05;
} // end
}//end class Supplies
[/code][/quote]
Hi,
So here u posted the right code......see ur errors......compiler is not able to find value() method.......... coz there is no value() method in ur product(name it --Product *always start a class name with block letter only*) class...... so check it again
thanks and regards,
madhoriya
I am not sure that was the issue. If I take out these lines:
***************
public double RestockFee() // Method to set the Restocking fee
{
return value() * 0.05;
} // end
***************
public double setRestockFee() // Method to set the Restocking fee
{
return value() * 0.05;
}
public double getRestockFee() // Method to set the Restocking fee
{
return value() * 0.05;
}
Code will run fine.
I am not sure that was the issue. If I take out these lines:
***************
public double RestockFee() // Method to set the Restocking fee
{
return value() * 0.05;
} // end
***************
public double setRestockFee() // Method to set the Restocking fee
{
return value() * 0.05;
}
public double getRestockFee() // Method to set the Restocking fee
{
return value() * 0.05;
}
Code will run fine.
Where is the definition for the method value() ?
I am not sure that was the issue. If I take out these lines:
***************
public double RestockFee() // Method to set the Restocking fee
{
return value() * 0.05;
} // end
***************
public double setRestockFee() // Method to set the Restocking fee
{
return value() * 0.05;
}
public double getRestockFee() // Method to set the Restocking fee
{
return value() * 0.05;
}
Code will run fine.
Hi,
luk at ur getRestockFee() method again........ here u r calling value method in ur return statement..... but there is no value method in ur class.....thats why compiler is not able to resolve it... it is not wise to remove the lines where u r getting errors...... instead u should think what u need to resolve this error.... I think r035198x has given u the answer.....define value() method in ur class
thanks and regards,
madhoriya
I find those previous error diagnostics very suspicious: -
Product.java:61 cannot find symbol
-
symbol : method value<>
-
location: class product
-
return value<> * 0.05;
-
Look at those angular brackets while the code itself seems to use ordinary
parentheses. Something's rotten in the state of Denmark here.
kind regards,
Jos
I find those previous error diagnostics very suspicious: -
Product.java:61 cannot find symbol
-
symbol : method value<>
-
location: class product
-
return value<> * 0.05;
-
Look at those angular brackets while the code itself seems to use ordinary
parentheses. Something's rotten in the state of Denmark here.
kind regards,
Jos
Looks suspicious indeed.
I ignored it thinking that maybe the OP is using a funny text editor that uses different characters for normal code pages and error output windows.
Looks suspicious indeed.
I ignored it thinking that maybe the OP is using a funny text editor that uses different characters for normal code pages and error output windows.
Hi,
I thought he has written the errors himself instead of just copy pasting it......that why he has done the typing mistake..... not so sure ? bcoz my compiler is showing it right.. -
product.java:60: Method value() not found in class product.
-
return value() * 0.05;
-
^
-
Thanks and regards,
madhoriya
Hi,
I thought he has written the errors himself instead of just copy pasting it......that why he has done the typing mistake..... not so sure ? bcoz my compiler is showing it right.. -
product.java:60: Method value() not found in class product.
-
return value() * 0.05;
-
^
-
Thanks and regards,
madhoriya
In reguards to the fishy smell, cant help you with that. Try lysol. About the error. I have been trying to compile from the bin folder using the comand prompt. Since I am unaware how to copy and paste from the CMD, I just typed it out.
I am very new to this and my work computer will not let me install the jdk on it without admin access. I could install it if I REALLY needed to, but it is not worth getting in trouble over. =)
In reguards to the fishy smell, cant help you with that. Try lysol. About the error. I have been trying to compile from the bin folder using the comand prompt. Since I am unaware how to copy and paste from the CMD, I just typed it out.
I am very new to this and my work computer will not let me install the jdk on it without admin access. I could install it if I REALLY needed to, but it is not worth getting in trouble over. =)
Eh, do you mean to say that you compiled that code without the JDK?
Try using Textpad. You can compile and run certain programs from it.
P.S Are the errors gone now?
In reguards to the fishy smell, cant help you with that. Try lysol.
Lol!
kind regards,
Jos :-)
Lol!
kind regards,
Jos :-)
I just googled it.
Silly me
You googled Lysol? Funny....
For some reason I am having troubles with TextPad and the way it complies on my home computer. My laptop works just fine, but I can not use it at work. My work computer does not have permission to install the JDK files and its not worth "tweeking" it at the moment. So, I need to wait until I get home unless you have a way of doing it without requireing the Admin password.
About the complie stuff. Since my computer has issues, I copy the *.java files into the bin folder of the JDK and then compile from the comand prompt by changing the directory to the bin file and typing javac *.java. This will compile all the java files and give me the *.class files. Then, I can just fire the java files from the cmd too. Does that make sence?
About the complie stuff. Since my computer has issues, I copy the *.java files into the bin folder of the JDK and then compile from the comand prompt by changing the directory to the bin file and typing javac *.java. This will compile all the java files and give me the *.class files. Then, I can just fire the java files from the cmd too. Does that make sence?
It sort of works but you shouldn't do it like that: add the name of that bin directory
to your 'path' environment variable and store your .java sources and .class files
somewhere else in their own directory. You don't pollute that bin directory then.
kind regards,
Jos
Hi,
luk at ur getRestockFee() method again........ here u r calling value method in ur return statement..... but there is no value method in ur class.....thats why compiler is not able to resolve it... it is not wise to remove the lines where u r getting errors...... instead u should think what u need to resolve this error.... I think r035198x has given u the answer.....define value() method in ur class
thanks and regards,
madhoriya
Ok, so should this be defined in the current class which it resides in or should it be designed in the public main class?
Ok, so should this be defined in the current class which it resides in or should it be designed in the public main class?
See one of your error messages again: - Product.java:61 cannot find symbol
-
symbol : method value<>
-
location: class product
-
return value<> * 0.05;
Ok, so now I am getting just one error.
Again just typing out manually.
product.java:8: ';' expected
^
1 error
Here is what I changed -
class product implements Comparable
-
{
-
private String productName; // class variable that stores the item name
-
private int itemNumber; // class variable that stores the item number
-
private double unitProduct; // class variable that stores the quantity in stock
-
private double priceProduct; // class variable that stores the item price
-
private double restockfee
-
-
-
/** Creates a new instance of product */
-
public product() // Constructor for Product class
-
{
-
productName = "";
-
itemNumber = 0;
-
unitProduct = 0.0;
-
priceProduct = 0.0;
-
restockfee = 0.00;
-
}
-
public product( String productName, int itemNumber, double unitProduct, double priceProduct) // Constructor for myProduct class
-
{
-
this.productName = productName;
-
this.itemNumber = itemNumber;
-
this.unitProduct = unitProduct;
-
this.priceProduct = priceProduct;
-
this.restockfee = restockfee;
-
}
-
-
public void setProductName(String name) // Method to set the item name
-
{
-
this.productName = productName;
-
}
-
public String getProductName() // Method to get the item name
-
{
-
return productName;
-
}
-
public void setItemNumber(int number) // Method to set the item number
-
{
-
this.itemNumber = itemNumber;
-
}
-
public int getItemNumber() // Method to get the item name
-
{
-
return itemNumber;
-
}
-
public void setUnitProduct(double unit) // Method to set the item number
-
{
-
this.unitProduct = unitProduct;
-
}
-
public double getUnitProduct() // Method to get the item name
-
{
-
return unitProduct;
-
}
-
public void setPriceProduct(double price) // Method to set the item number
-
{
-
this.priceProduct = priceProduct;
-
}
-
public double getPriceProduct() // Method to get the item name
-
{
-
return priceProduct;
-
}
-
public double setRestockFee() // Method to set the Restocking fee
-
{
-
return value() * 0.05;
-
}
-
public double getRestockFee() // Method to set the Restocking fee
-
{
-
return value() * 0.05;
-
}
-
-
-
// Calculation method
-
public double itemCalculate()
-
{
-
return unitProduct * priceProduct; // multiply for total for each item
-
-
} // end calculation
-
public int compareTo (Object o) // use the compareTo method
-
{
-
product p = (product)o;
-
return productName.compareTo(p.getProductName());
-
}
-
public double RestockFee() // Method to set the Restocking fee
-
{
-
return value() * 0.05;
-
} // end
-
-
}//end class Supplies
-
Ok, so now I am getting just one error.
private double unitProduct; // class variable that stores the quantity in stock
private double priceProduct; // class variable that stores the item price
private double restockfee
/** Creates a new instance of product */
public product() // Constructor for Product class
{
productName = "";
itemNumber = 0;
unitProduct = 0.0;
priceProduct = 0.0;
restockfee = 0.00;
}
public product( String productName, int itemNumber, double unitProduct, double priceProduct) // Constructor for myProduct class
{
this.productName = productName;
this.itemNumber = itemNumber;
this.unitProduct = unitProduct;
this.priceProduct = priceProduct;
this.restockfee = restockfee;
}
public void setProductName(String name) // Method to set the item name
{
this.productName = productName;
}
public String getProductName() // Method to get the item name
{
return productName;
}
public void setItemNumber(int number) // Method to set the item number
{
this.itemNumber = itemNumber;
}
public int getItemNumber() // Method to get the item name
{
return itemNumber;
}
public void setUnitProduct(double unit) // Method to set the item number
{
this.unitProduct = unitProduct;
}
public double getUnitProduct() // Method to get the item name
{
return unitProduct;
}
public void setPriceProduct(double price) // Method to set the item number
{
this.priceProduct = priceProduct;
}
public double getPriceProduct() // Method to get the item name
{
return priceProduct;
}
public double setRestockFee() // Method to set the Restocking fee
{
return value() * 0.05;
}
public double getRestockFee() // Method to set the Restocking fee
{
return value() * 0.05;
}
[/code]
Hi,
put a semicolon at the end of this line..... -
private double restockfee
-
like this -
private double restockfee;
-
Thanks and regards,
madhoriya
ok, so now I am going in circles.....
Back to three errors
ok, so now I am going in circles.....
Back to three errors
Hi,
What are the errors....?
Thanks and regards,
madhoriya
Product.java:61 cannot find symbol
symbol : method value<>
location: class product
return value<> * 0.05;
Product.java:65 cannot find symbol
symbol : method value<>
location: class product
return value<> * 0.05;
Product.java:82 cannot find symbol
symbol : method value<>
location: class product
return value<> * 0.05;
3 errors
Heres what someone pointed out to me.
And your problem is that you did not and still have not defined a value() method. Typically, methods need to exist before you use them
Heres what someone pointed out to me.
And your problem is that you did not and still have not defined a value() method. Typically, methods need to exist before you use them
That is ever so true; I tried to find the definition of the value() method in your
post but it was nowhere to be found. Define a method value() in your class: -
double value() {
-
return //whatever it has to return
-
}
-
and try again.
kind regards,
Jos
That is ever so true; I tried to find the definition of the value() method in your
post but it was nowhere to be found. Define a method value() in your class: -
double value() {
-
return //whatever it has to return
-
}
-
and try again.
kind regards,
Jos
Now I can not take all the credit as my teacher has done most of the work. - import java.util.*;
-
-
public class Company extends product implements Comparable
-
{
-
private String developer;
-
//double total;
-
-
/** Creates a new instance of Company */
-
public Company()
-
{
-
super();
-
String developer ="";
-
//total =0.0;
-
}
-
public Company(String productName, int itemNumber, double unitProduct, double priceProduct, String developer)
-
{
-
super(productName, itemNumber, unitProduct, priceProduct);
-
this.developer = developer;
-
}
-
-
public void setDeveloper( String developer)
-
{
-
this.developer = developer;
-
}
-
public String getDeveloper()
-
{
-
return developer;
-
}
-
-
public double itemCalculate()
-
{
-
return (super.itemCalculate()*.05)+super.itemCalculate();
-
}
-
-
public int compareTo (Object o) // use the compareTo method
-
{
-
product p = (product)o;
-
return productName.compareTo(p.getProductName());
-
}
-
-
public String toString()
-
{
-
return super.toString()+ "\nCompany: "+ developer +"\nPrice with restock fee: $"+itemCalculate();
-
}
-
}
-
-
import java.util.*; // program uses class Scanner
-
-
public class Inventory
-
{
-
// main method begins execution of Java application
-
public static void main( String args[])
-
{
-
product[] myProduct = new product[5];
-
//Company[] myCompany = new Company[5];
-
-
product p1 = new Company("Mad Dash", 20003, 5, 30, "EIDOS");
-
product p2 = new Company("Fuzion Frenzy", 74512, 2, 10, "MicroSoft");
-
product p3 = new Company("Time Splitters 2", 20009, 3, 45, "EIDOS");
-
product p4 = new Company("Night Caster", 74522, 8, 5, "MicroSoft");
-
product p5 = new Company("Lego Star Wars II", 32976, 1, 50, "LucasArts");
-
-
myProduct[0] = p1;
-
myProduct[1] = p2;
-
myProduct[2] = p3;
-
myProduct[3] = p4;
-
myProduct[4] = p5;
-
-
double totalValue = 0.0;
-
-
for (int c=0; c < 5; c++)
-
{
-
totalValue = totalValue + myProduct[c].itemCalculate();
-
}
-
-
Arrays.sort(myProduct); // function used to sort arrays
-
-
for(product p: myProduct)
-
{
-
System.out.println(p);
-
System.out.println();
-
}
-
System.out.println("Total Inventory value is: $"+totalValue);
-
-
} //end main
-
-
} //end Inventory
-
-
-
-
import java.util.*; // program uses any class available
-
-
class product implements Comparable
-
{
-
public String productName; // class variable that stores the item name
-
private int itemNumber; // class variable that stores the item number
-
private double unitProduct; // class variable that stores the quantity in stock
-
private double priceProduct; // class variable that stores the item price
-
-
/** Creates a new instance of product */
-
public product() // Constructor for Product class
-
{
-
productName = "";
-
itemNumber = 0;
-
unitProduct = 0.0;
-
priceProduct = 0.0;
-
}
-
public product( String productName, int itemNumber, double unitProduct, double priceProduct) // Constructor for myProduct class
-
{
-
this.productName = productName;
-
this.itemNumber = itemNumber;
-
this.unitProduct = unitProduct;
-
this.priceProduct = priceProduct;
-
}
-
-
public void setProductName(String name) // Method to set the item name
-
{
-
this.productName = productName;
-
}
-
public String getProductName() // Method to get the item name
-
{
-
return productName;
-
}
-
public void setItemNumber(int number) // Method to set the item number
-
{
-
this.itemNumber = itemNumber;
-
}
-
public int getItemNumber() // Method to get the item name
-
{
-
return itemNumber;
-
}
-
public void setUnitProduct(double unit) // Method to set the item number
-
{
-
this.unitProduct = unitProduct;
-
}
-
public double getUnitProduct() // Method to get the item name
-
{
-
return unitProduct;
-
}
-
public void setPriceProduct(double price) // Method to set the item number
-
{
-
this.priceProduct = priceProduct;
-
}
-
public double getPriceProduct() // Method to get the item name
-
{
-
return priceProduct;
-
}
-
-
// Calculation method
-
public double itemCalculate()
-
{
-
return unitProduct * priceProduct; // multiply for total for each item
-
-
} // end calculation
-
public int compareTo (Object o) // use the compareTo method
-
{
-
product p = (product)o;
-
return productName.compareTo(p.getProductName());
-
}
-
-
public String toString() // displays products
-
{
-
return "Title: "+productName+
-
"\nBarcode: "+itemNumber+
-
"\nNumber of Xbox games: "+(int)unitProduct+
-
"\nPrice: $"+priceProduct+
-
"\nTotal: $"+itemCalculate();
-
} // end toString
-
-
-
}//end class Supplies
-
-
-
That is ever so true; I tried to find the definition of the value() method in your
post but it was nowhere to be found. Define a method value() in your class: -
double value() {
-
return //whatever it has to return
-
}
-
and try again.
kind regards,
Jos
Ok, so what is the best method in proceeding to add the GUI to this?
Ok, so what is the best method in proceeding to add the GUI to this?
I don't know; I don't know what sort of GUI you have in mind. Have you read
about the Swing framework? Look here.
kind regards,
Jos
Ok, so what is the best method in proceeding to add the GUI to this?
I just went through that class. Get ready to rewrite your entire primary class.
It is fun. :o)
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Jamie Fryatt |
last post by:
Hi everyone, here's what id like to do.
I have a table with 2 fields, name and value
I need to be able to add multiple records quickly, for example I need to add
name value
abc 1...
|
by: sp0 |
last post by:
Is there a reason why to make mix numbers improper when adding?
It seems when subtracting and adding, adding a subtracting the whole
numbers and fraction parts should be sufficient? what'ch think
|
by: hzgt9b |
last post by:
When adding my VB .NET solution (with two sub-projects) the folder structure
in VSS gets an extra level of folders...
For example, here's the structure of the solution on my C:\...
|
by: Jim Heavey |
last post by:
Trying to figure out the technique which should be used
to add rows to a datagrid. I am thinking that I would
want an "Add" button on the footer, but I am not quite
sure how to do that. Is that...
|
by: Robin Thomas |
last post by:
I am fairly new to ASP.NET so I think I am missing something fundamental.
Anyway, quite often I am pulling data from a database, but then I need to
use that data to produce more data. A simple...
|
by: Sileesh |
last post by:
Hi
I have html table and a Button in an Aspx page. I am adding one row with
some textboxes to Html table each time i click on the Button thru Javascript.
Now problem is when when i try to...
|
by: porky008 |
last post by:
I need to add a search button to this and have no clue how to do it. Can some one please help me on this?
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import...
|
by: Kadett |
last post by:
Hi all, I have following problem: I'm creating a ListView (Details) control
at run-time and filling it with some records (let's say 10 000). This
operation seems to be quite fast, but when I call...
|
by: AndyL69 |
last post by:
Hello
I've got a very strange Problem. When im adding a new ACE entry to a UNC Direcotry the inherented ACL's will be lost. When I'm adding a new ACE to a directory / file in this UNC path the...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |