Search:

Type: Posts; User: Norm

Page 1 of 20 1 2 3 4

Search: Search took 0.69 seconds.

  1. Replies
    2
    Views
    77

    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...
  2. Replies
    10
    Views
    109

    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.
  3. 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.
  4. Replies
    10
    Views
    109

    Re: How to get the submit button working?

    What do you expect to see when the submit button works?
    Where will you see it?
  5. 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...
  6. Replies
    10
    Views
    109

    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?
  7. Replies
    10
    Views
    109

    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?
  8. Replies
    7
    Views
    87

    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:
  9. Replies
    7
    Views
    87

    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.
  10. Replies
    7
    Views
    87

    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
  11. Re: why is it not calculating the total after leaving the loop

    What happens with the new code?
  12. 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...
  13. 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?
  14. Replies
    10
    Views
    109

    Re: How to get the submit button working?

    What happens when you compile and execute the code? Are there any error messages?
  15. 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...
  16. [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"...
  17. Replies
    7
    Views
    140

    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...
  18. Replies
    7
    Views
    140

    Re: Restore Database in Java

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

    Re: Restore Database in Java

    please explain. Copy and Post all the error messages here.
  20. Replies
    6
    Views
    78

    Re: Copy code from NetBeans to jGrasp

    I don't know jGrasp, but this might fix the problem:
    if you need the code to be in the day package, put the class file in the day folder and have jGrasp change directories to the folder that...
  21. Thread: for loop

    by Norm
    Replies
    12
    Views
    187

    Re: for loop

    Original Poster
  22. Replies
    8
    Views
    89

    Re: Roman to ordinary number conversion

    It's almost impossible to write any useful program in java without using methods from the Java SE classes. For example to show results the code would use a print method.

    Can you explain in more...
  23. 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

    The Printwriter class has methods for writing Strings to a text file.
  24. Replies
    3
    Views
    67

    Re: Java threads problem

    Does the constructor return immediately after doing some initialization
    or does it fall into some never ending code?
  25. Replies
    8
    Views
    89

    Re: Roman to ordinary number conversion

    What is a "predefined method"? How does it differ from any other method?
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4