On it thanks
--- Update ---
Hey can you you help me out with this one below, its the only one im stuck on and its doing my head in?
// set up beverageJComboBox
Type: Posts; User: SeanyC
On it thanks
--- Update ---
Hey can you you help me out with this one below, its the only one im stuck on and its doing my head in?
// set up beverageJComboBox
CAn you help me out with it? the first one i have my combobox called:
beverageJComboBox = new javax.swing.JComboBox();
Next one is:
private void beverageJComboBoxItemStateChanged(...
Okay i got the list of what is wrong, and i get these warnings below
RestaurantBillCalculator.java:308: warning: [unchecked] unchecked call to addIte
m(E) as a member of the raw type JComboBox
...
There is no errors, this is what i don't understand! the program runs fine in Netbeans but when i run it at the command line, it asks to recompile with -Xlint
So how do i write that in the command line? the way you have it exactly or what?
--- Update ---
If this is just a warning, why wont my code compile in the command line? i have 7 warnings but no...
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Sean\Documents\NetBeansProjects\RestaurantBillCalculator\src>javac Rest...
Simply put, i have to run my program from the command line
My code is:
public static void main( String[] args )
{
// check command-line arguments