Search:

Type: Posts; User: Norm

Page 1 of 20 1 2 3 4

Search: Search took 0.65 seconds.

  1. Replies
    16
    Views
    101

    Re: Super Beginner Instructables Project help

    Try adding a class statement and compile it to see what the java compiler thinks.
  2. [SOLVED] Re: Server doesn't work with more than one connection

    Could you post the full contents of the consoles from when the code is executed?
  3. Replies
    16
    Views
    101

    Re: Super Beginner Instructables Project help

    The first thing I see that is missing is a definition for a class. The code would not begin to compile without that.
  4. Replies
    16
    Views
    101

    Re: Super Beginner Instructables Project help

    There is a lot of missing code. What you've posted looks like parts that were copied from another program and pasted into the file you got. You need to get the full code, not these bits and pieces.
  5. Re: This is in processing if it makes a difference

    Hard to tell what the problem is without seeing all of the code that is before what you've posted.
  6. Replies
    16
    Views
    101

    Re: Super Beginner Instructables Project help

    Please copy the text of the error messages and paste it here. Sometimes one error will cause the compiler to get lost and cause lots more errors.

    If the source was in a .java file, it's probably...
  7. Re: Commission calculator program help! (Using method)

    That's what you get from integer division: 50/100 = 0
    Try floating pt division: 50.0/100 = 0.5 or 50/100.0 = 0.5
  8. Replies
    1
    Views
    41

    Re: how to get gallery to open my images

    The Galley app on my tablet was able to find lots of images I have in many different folders.
    I clicked on some of the menu items (I don't remember which ones) and it eventually found and displayed...
  9. Replies
    16
    Views
    101

    Re: Super Beginner Instructables Project help

    The Java Development Kit comes with a compiler and many useful tools. It can be downloaded from the Oracle site: Java SE - Downloads | Oracle Technology Network | Oracle

    You will also need to...
  10. Replies
    16
    Views
    101

    Re: Super Beginner Instructables Project help

    Does it compile?
    Then how do you copy the compiler's output to where you want to execute it?
    You probably need to contact the program's author to find out how to execute the code.

    Sorry I...
  11. Replies
    16
    Views
    101

    Re: Super Beginner Instructables Project help

    If you have java code that you are having problems with, please copy it and paste it here.
    If you are getting error messages when you try to compile the code, copy them and paste it here.

    ...
  12. Replies
    8
    Views
    96

    [SOLVED] Re: Problem with a code execution.

    That is too bad that the book only gives the client code and not also the server code.
  13. Replies
    8
    Views
    96

    [SOLVED] Re: Problem with a code execution.

    Sorry, I don't have any links to sites regarding writing servers.


    Where did you get the code you have posted? Does it have the server that is supposed to go with your program?
  14. Replies
    8
    Views
    96

    [SOLVED] Re: Problem with a code execution.

    Have you started that server so your program can communicate with it?
    Does the server listen on port 7?

    Please edit your post and make sure the code has proper indentations for nested statements....
  15. Replies
    8
    Views
    96

    [SOLVED] Re: Problem with a code execution.

    Please explain. If you get error messages, copy the full text and paste it here.

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

    YOUR CODE GOES HERE

    to get highlighting and...
  16. Replies
    3
    Views
    70

    Re: Data Structures and Algorithms

    Do you have any specific java programming questions?

    What have you tried? Be sure to wrap any code in code tags.
  17. Replies
    19
    Views
    264

    Re: Base raised to the exponent

    Some questions:
    What is done with the number of simulation value entered by the user and read into the reply1 variable?
    Why are there so many different variables named principal? There should...
  18. Replies
    6
    Views
    95

    Re: Trouble with ObjectInput/OutputStreams

    A couple of debugging ideas:
    1)If you think that the timing lag from using a remote server (it works locally), try building a test version that introduces some lag: Extend the OutputStream, have its...
  19. Re: Beginner, need help learning Java from Python

    Yes, that makes sense.

    Now you need to rewrite the code so it counts the number of times and returns the count, not print it. The caller of the method should do the printing of the value that is...
  20. Re: Beginner, need help learning Java from Python

    Can you post the program's output that should what it does?

    Like in your examples:
    For src = "ab", query = "b", return 1.
    For src = "Luke Skywalker", query = "ke", return 2.

    NOTE: The method...
  21. Re: Adding Binary numbers in array element by element

    How are you debugging the code to find where the problem is?
    I use println() statements to print out the values of variables and arrays as their values are changed so I can see what the code is...
  22. Replies
    6
    Views
    95

    Re: Trouble with ObjectInput/OutputStreams

    Can you post a Short, Self Contained, Correct Example that can be compiled and exected for testing that shows the problem?
  23. Replies
    16
    Views
    193

    Re: Tic tac Toe GUI not displaying winner

    Can you get the compiler errors? Those errors are from when you try to execute the program.
    The error messages from the javac compiler give better explanations of what is wrong with the code.

    ...
  24. Thread: I need help

    by Norm
    Replies
    5
    Views
    74

    Re: I need help

    @ Denimar de Moraes Please read: http://www.javaprogrammingforums.com/cafe/9544-problem-spoon-feeding.html
  25. Replies
    16
    Views
    193

    Re: Tic tac Toe GUI not displaying winner

    Please explain what the problem is.
    If there are errors, copy the full text of the error messages and paste it here.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4