Search:

Type: Posts; User: Norm

Page 1 of 20 1 2 3 4

Search: Search took 0.36 seconds.

  1. Replies
    5
    Views
    59

    Re: Need help with a loop

    @GoodbyeWorld
    Please edit your post and format the code to have proper indentations. Statements should not all start in the first column.
    Posting sloppy code does not set a good example for OPs.
  2. Replies
    2
    Views
    29

    Re: Parsing C file in java

    If you want to read whole contents of the file with one read statement, you could use the read() method with a char array the size of the file. Then the chars in the array could be converted to a...
  3. Replies
    14
    Views
    160

    Re: adding listener to graphics

    Here's a sample of nicely formatted code in post#14:
    http://www.javaprogrammingforums.com/whats-wrong-my-code/41508-simple-project-help.html#post165352

    --- Update ---


    How are you trying to...
  4. Thread: help

    by Norm
    Replies
    6
    Views
    54

    Re: help

    Could you make a complete response in your native language and use an online translator to convert it to English? And post the translation here.
  5. Replies
    14
    Views
    160

    Re: adding listener to graphics

    Do you have any questions or problems with the code?

    NOTE: The code is poorly formatted making it hard to read and understand. Logically nested statements are not indented properly.

    Please...
  6. Replies
    2
    Views
    41

    Re: Crop an image on an anchor point

    I don't understand how an anchor point is defined. Is it an x,y location within the width, height of an image?
    How is that x,y point used to define the bounds for cropping of the image?
  7. Replies
    13
    Views
    105

    Re: Simple project help

    Not sure what is meant by a "custom" class. Does it mean a class written by a programmer for use in his project vs one that is part of Java SE?
  8. Replies
    13
    Views
    105

    Re: Simple project help

    Ok, if you know how to make a class, can you explain what problems you are having with this one?
  9. Replies
    10
    Views
    96

    [SOLVED] Re: Do While Loop Problem

    Try some of the other Scanner class methods whose names begin with next to see if any of them will do what you want.
  10. Replies
    13
    Views
    105

    Re: Simple project help

    The Scanner class's methods do not change the data that they read. "A" will be read as "A" and "a" as "a". The String class has method to change a String's case.
  11. Replies
    10
    Views
    96

    [SOLVED] Re: Do While Loop Problem

    Read the API doc for the Scanner class about the definition of a token and what the methods return.
    If you don't want a space to be a delimiter for tokens, the class has method(s) to change the...
  12. Replies
    9
    Views
    57

    Re: JavaFX and new scenes with scene builder

    Glad you got it working.
  13. Replies
    9
    Views
    57

    Re: JavaFX and new scenes with scene builder

    Was there a variable with a null value on that line?
  14. Replies
    9
    Views
    148

    Re: Java Heap Space Error

    I still don't see how the code is related to the stack trace.
    There isn't an entry in the stack trace for the update() method.
    The stack trace shows the exception happened in the run() method when...
  15. Replies
    10
    Views
    96

    [SOLVED] Re: Do While Loop Problem

    Use an if statement to detect the invalid number.
  16. Replies
    9
    Views
    57

    Re: JavaFX and new scenes with scene builder

    Is there a variable with a null value when the code at line 37 is executed?
  17. Replies
    10
    Views
    96

    [SOLVED] Re: Do While Loop Problem

    What number is BOTH < 1 AND > 15?
    That expression needs some work.
  18. Replies
    9
    Views
    148

    Re: Java Heap Space Error

    Can you post the code that goes with the error message?
  19. Replies
    9
    Views
    57

    Re: JavaFX and new scenes with scene builder

    Add a call to the printStackTrace() method in the catch block so a description of the error is printed.
  20. Replies
    2
    Views
    70

    Re: I need help with creating a class

    Take the items listed one at a time. Code, compile and test it. When the errors are fixed, move to the next item in the list and do it again.

    If you have any specific questions, please ask.
  21. Replies
    9
    Views
    57

    Re: JavaFX and new scenes with scene builder

    Please copy the full text of the error message and paste it here. It has important info about the error.

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

    YOUR CODE GOES HERE

    to...
  22. Replies
    7
    Views
    79

    Re: How is hash map implemented IN java?

    The source for most classes is included with the JDK install (src.zip).
  23. Thread: help

    by Norm
    Replies
    6
    Views
    54

    Re: help

    What are you asking about? Please try again.
  24. Replies
    9
    Views
    148

    Re: Java Heap Space Error

    The posted code does not go with the error message. The code has print statements:

    and the print out with the error message has this:
  25. Replies
    7
    Views
    99

    Re: Implementing Heap from an ArrayList

    Sorry, I can't help with the IDE's debugger. I use println() statements to print out the values of variables as they are used and changed.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4