Search:

Type: Posts; User: Norm

Page 1 of 20 1 2 3 4

Search: Search took 0.76 seconds.

  1. Replies
    5
    Views
    55

    Re: Hello I'm new to java i need help

    Please post clean code without the leading ***s.

    Now the code's indentations need fixing. Not all statements should start in the first column of the line.

    Also there are too many blank lines...
  2. Replies
    7
    Views
    36

    Re: code to draw circles on a chart

    Sorry, I do not know anything about the software you are using.

    If you have any questions about using the Java SE classes, please post them
  3. Replies
    7
    Views
    36

    Re: code to draw circles on a chart

    How do I compile the code for testing? It is missing the import statements, the class definition, GUI components for showing the circles and the main method.

    Where is the paintComponent method...
  4. Replies
    7
    Views
    36

    Re: code to draw circles on a chart

    Please copy and post here the code for the program you are having problems with. It should be complete so it can be compiled and executed for testing.
    Be sure to wrap the code in code tags.

    Do...
  5. Replies
    7
    Views
    36

    Re: code to draw circles on a chart

    Please post the code that you are working with that shows the problem.

    Be sure to wrap the code in code tags.
  6. Replies
    5
    Views
    55

    Re: Hello I'm new to java i need help

    Please post clean code without the leading ***s.
    Be sure to wrap with code tags:



    **YOUR CODE GOES HERE**


    to get highlighting and preserve formatting.
  7. Replies
    5
    Views
    55

    Re: Hello I'm new to java i need help

    What have you tried?
    Be sure to wrap any posted code in code tags.

    Do you have any specific java programming questions about your assignment?
  8. Re: BufferedWriter writing garbage after a close()

    Can you copy and paste here the "garbage" that you are seeing?

    Have you tried debugging the code by having a print statement that prints out the value of data.get(index) before it is used in the...
  9. Replies
    9
    Views
    108

    Re: running java files in the cmd.exe

    Please copy the full contents of the command prompt window and paste it here so we can see the command that was entered and the response.
  10. Replies
    5
    Views
    60

    Re: Comments on this code?

    Ok, then it could be deleted without any problems.

    Read the API doc for the Object class's wait method to see what it does: http://docs.oracle.com/javase/8/docs/api/index.html
  11. Replies
    2
    Views
    41

    [SOLVED] Re: Display string and/or sensor values

    Please edit your post and wrap your code with code tags:



    **YOUR CODE GOES HERE**


    to get highlighting and preserve formatting.
  12. Replies
    1
    Views
    33

    Re: getX and getY in Visual Studio Code

    The posted code has compiler errors. Please fix.

    error: package javax.javax.swing does not exist

    Also add some text to the printouts giving the names of the values being printed:
    ...
  13. Replies
    5
    Views
    60

    Re: Comments on this code?

    How is that method used in other parts of the code?
    What does its caller do when true is returned?
    What does it do when false is returned?
  14. Replies
    5
    Views
    60

    Re: Comments on this code?

    Please edit your post and wrap your code with code tags:



    **YOUR CODE GOES HERE**


    to get highlighting and preserve formatting.

    How is that method used in other parts of the code?
  15. [SOLVED] Can you copy the contents of the command prompt...

    Can you copy the contents of the command prompt window and paste it here so we can see what you are talking about?

    Where is the class's main method? It is needed for testing.

    Please edit your...
  16. Replies
    9
    Views
    108

    Re: running java files in the cmd.exe

    My commandline refers to a file on my PC. The path would probably be different on your PC. You need to use the path from your PC

    You need to know where files are located on your PC
    and how the...
  17. Replies
    9
    Views
    108

    Re: running java files in the cmd.exe

    The command line I posted could be used in any command prompt window. The full path to the javac.exe file is given which allows the OS to find the javac.exe file and start it executing with the rest...
  18. Replies
    9
    Views
    108

    Re: running java files in the cmd.exe

    One way is to use the full path the the javac.exe file so the OS can find it. For example, here is a commandline I use:
    C:\Program Files\Java\jdk1.8.0_60\bin\javac.exe -cp . -Xlint -Xdiags:verbose...
  19. Replies
    1
    Views
    47

    Re: Delete root node in Binary Search Tree

    Do you have the algorithm or list of steps the program must take to solve the problem?
    Once you have that you can try to write the java code to implement it.

    If you have any problems writing the...
  20. Replies
    4
    Views
    147

    [SOLVED] Re: OkHttpRequest data retrieval need help

    For debugging the code you can use the System.out.println statement which will write to the logcat. The logcat can then be downloaded to a PC as a text file for examination.
    Or if the Android...
  21. Replies
    4
    Views
    147

    [SOLVED] Re: OkHttpRequest data retrieval need help

    What happens when you compile, install and execute the code?

    What does that mean?

    Please edit your post and wrap your code with code tags:



    **YOUR CODE GOES HERE**
  22. Replies
    4
    Views
    140

    Re: Reading and Writing 2d boolean array

    What source code line is that error message referring to? The posted source does not have all the source code's lines. Where is line 53?

    The compiler thinks It is possible for an exception to...
  23. Replies
    4
    Views
    140

    Re: Reading and Writing 2d boolean array

    There are two sections of code posted. Which one has the error?
    Please copy the full text of the error message and paste it here.

    Please edit your post and wrap your code with code tags:


    ...
  24. Re: Beginner Developer with Basic Computer Requirement Questions

    java does not run in a browser like javascript. Its programs are executed with the java command similar to most other PC programs.
  25. Re: Beginner Developer with Basic Computer Requirement Questions

    1) None that I know of
    2) You need a JDK to compile and test java programs. It is a free download from the Oracle site.
    Also at some point you will want an IDE like Eclipse or Netbeans to make...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4