Search:

Type: Posts; User: Norm

Page 1 of 20 1 2 3 4

Search: Search took 0.70 seconds.

  1. Re: I can't seem to find what's wrong with my code...

    What are the values received from the user
    and what are the values the method receives?

    Add some print statements to print them out to see if they are what you expect.
  2. Thread: Library System

    by Norm
    Replies
    3
    Views
    41

    Re: Library System

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

    YOUR CODE GOES HERE

    to get highlighting and preserve formatting.
  3. Replies
    3
    Views
    66

    Re: What's Wrong with my code? Prime Numbers

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

    YOUR CODE GOES HERE

    to get highlighting and preserve formatting.
  4. Replies
    3
    Views
    71

    Re: Need Help With Java Trig

    What is the value in r? A point in 2D space takes two coordinates.
  5. Replies
    3
    Views
    112

    Re: Code for knapsack problem

    NOTE: The posted code is almost unreadable with the way it's coded. It needs to be edited and the statements properly formatted.
    There should only be one statement on a line.
    As Peter noted, if...
  6. Replies
    8
    Views
    122

    Re: Locking the camera on character

    What is "the camera"? Is it a shape or image that is being drawn on the GUI like the "character" image?

    In other words: there are two images that you want to have bound so that when one moves,...
  7. Replies
    2
    Views
    91

    Re: Help with the code!

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

    YOUR CODE GOES HERE

    to get highlighting and preserve formatting.


    Please explain. If you get error messages, copy and paste...
  8. Replies
    10
    Views
    125

    Re: How to get the submit button working?

    What do you see when you execute the program? You need to see a GUI with the submit button before you can press the button.
  9. Re: How do I refresh my code (clear the screen)

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

    YOUR CODE GOES HERE

    to get highlighting and preserve formatting.
  10. Replies
    10
    Views
    125

    Re: How to get the submit button working?

    What do you expect to see when the submit button works?
    Where will you see it?
  11. Re: How do I refresh my code (clear the screen)

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

    YOUR CODE GOES HERE

    to get highlighting and preserve formatting.


    The Timer class will allow you to call a method that can...
  12. Replies
    10
    Views
    125

    Re: How to get the submit button working?

    Have you seen errors before when a program is executed? Do you know how and where an error at execution time is displayed?

    What OS are you on? What causes a terminal window to open?
  13. Replies
    10
    Views
    125

    Re: How to get the submit button working?

    Are you sure there are no errors when the submit button is pressed while the code is executing?
  14. Replies
    7
    Views
    107

    Re: Cant find syntax error in my program?

    This is not correctly indented:


    public static void main(String[] args) {

    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();

    try {
    If should be:
  15. Replies
    7
    Views
    107

    Re: Cant find syntax error in my program?

    Please edit the code and indent the statements inside of the for statements so that the matching { and }s are easy to see.
    Also the code in a method and code in a try block should be indented.
  16. Replies
    7
    Views
    107

    Re: Cant find syntax error in my program?

    Did you try what was recommended?

    BTW Statements inside a for statement should be indented to make it easier to see the logic and possible missing }s
  17. Re: why is it not calculating the total after leaving the loop

    What happens with the new code?
  18. Re: why is it not calculating the total after leaving the loop

    Can you write a statement that adds a value to a variable?
    The code in post #5 assigns a new value to a variable, destroying the value that was there.

    To add a value to a variable, make sure the...
  19. Re: why is it not calculating the total after leaving the loop

    How would you compute the total using a calculator if someone was to tell you the numbers one at a time?
  20. Replies
    10
    Views
    125

    Re: How to get the submit button working?

    What happens when you compile and execute the code? Are there any error messages?
  21. Re: I have a web page which links to an Excel 2007 worksheet. It is a upload details in .xlsx file and download in .csv file. When I click on the download link and trying to open i get the usual dialog box to either open/save the Excel file. On click

    Can you look in the file that is downloaded and compare what it contains with the good file that was sent? Use a hex editor to see what is in the file.

    How many bytes do each of the two files...
  22. [SOLVED] Re: Using a method on an object: General Question

    Classes can have methods. There shouldn't be a difference between what you are calling the main class and any other class. They can all have methods.


    I'm not sure what "use it on that object"...
  23. Replies
    7
    Views
    163

    Re: Restore Database in Java

    That's what this statement in the java program tries to do:

    runtimeProcess = Runtime.getRuntime().exec(executeCmd);
    If the contents of executeCmd doesn't work when used in a command prompt, it...
  24. Replies
    7
    Views
    163

    Re: Restore Database in Java

    What happens when you execute the program in a command prompt vs from a java program?
  25. Replies
    7
    Views
    163

    Re: Restore Database in Java

    please explain. Copy and Post all the error messages here.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4