Search:

Type: Posts; User: Norm

Search: Search took 0.21 seconds.

  1. Replies
    13
    Views
    1,545

    Re: Command Line and two arguments

    Please post the code showing what you have tried and the error messages you get.
    The posted code does not show the definition for the variable: beverageJComboBox.
  2. Replies
    13
    Views
    1,545

    Re: Command Line and two arguments

    Take a look at the tutorial: Lesson: Generics (Updated) (The Java™ Tutorials > Learning the Java Language)
  3. Replies
    13
    Views
    1,545

    Re: Command Line and two arguments

    Yes, those look like missing generic code.
  4. Replies
    13
    Views
    1,545

    Re: Command Line and two arguments

    The IDE is ignoring the warnings. That can lead to problems when some of the warnings really effect how the code runs. For example try this statement: if( 2>1); using the -Xlint option gives this...
  5. Replies
    13
    Views
    1,545

    Re: Command Line and two arguments

    Please copy the full text of the error messages and paste it here.
  6. Replies
    13
    Views
    1,545

    Re: Command Line and two arguments

    The compiler is recommending that you use the -Xlint option to get a full description of the errors.
    For example:
    D:\Java\jdk1.7.0_45\bin\javac.exe -cp . -Xlint TestCode18.java
  7. Replies
    13
    Views
    1,545

    Re: Command Line and two arguments

    What program are you trying to execute: javac or java
    It would help if you copied the full contents of the command prompt window and pasted it here.

    On Windows To copy the contents of the...
Results 1 to 7 of 7