Search:

Type: Posts; User: Norm

Page 1 of 20 1 2 3 4

Search: Search took 0.77 seconds.

  1. Replies
    7
    Views
    83

    Re: beginner's radio button question

    Ok, it compiles and I see 6 enabled controls. The ones labeled check boxes are in a group (only one on a line can be checked),
    the ones labeled Procedure disable both of buttons in the other group....
  2. Replies
    7
    Views
    83

    Re: beginner's radio button question

    Can you make a small, complete program that compiles, executes and shows the problem?
  3. Re: Java Web Services - 2 wsdls - problem finding class

    Moved to IDE section.
  4. Thread: Tracking objects

    by Norm
    Replies
    2
    Views
    63

    Re: Tracking objects

    If you wrote the code that moves the objects, you should be able to look at your code and see where it changes the x,y values that determine the objects location.
    Any shape drawn on the screen...
  5. [SOLVED] Re: Accessing variables from an Array instance of a Class.

    An array does NOT have methods that can be called.

    If the array contains instances of a class, a reference to an element of the array can be used to call a method in that class:
    ...
  6. [SOLVED] Re: Accessing variables from an Array instance of a Class.

    Ok. What is the problem?

    There is no way to guess with only one line of code.
  7. [SOLVED] Re: Accessing variables from an Array instance of a Class.

    Please post the code you are having problems with and any error messages it gets.
  8. [SOLVED] Re: Accessing variables from an Array instance of a Class.

    Add a getter and setter method to the class that has the change variable.

    BTW Object is a java class. Your code should not have the same name as a java class.
    It will be less confusing if you...
  9. Replies
    3
    Views
    69

    Re: Converting Array into ArrayList

    Is the assignment for you to write a class that implements the Iterator interface?
  10. Replies
    1
    Views
    60

    Re: Insertion Sort Algorithm using Java codes

    How are you trying to debug the code to see what it does when it is executed?
    One way is to add lots of println() statements that show the execution flow and the values of variables as they are...
  11. [SOLVED] Re: Problem Statement: Fill different size boxes with bags most efficently

    Glad you got it working.
  12. Thread: Java 1.5 to 1.7

    by Norm
    Replies
    2
    Views
    60

    Re: Java 1.5 to 1.7

    Moved from "What's wrong..." section.
  13. Re: i want to find what problem is about drawOval func

    Please explain what problems you are having with the program?
  14. Re: why compile error(uva 10071 - Back to High School )

    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...
  15. Replies
    4
    Views
    101

    Re: Beginner's question about objects

    There is a String object: "haai"
    the code assigns its value to two variables: a and b

    Try this:
    String a = new String("haai");
  16. Replies
    2
    Views
    82

    Re: Array and output explain

    If you need 3 values in the array, there is no reason to add any more.
    The declaration of the variable and assigning it a value can be done in one statement.


    Start by reading the API doc for...
  17. Replies
    4
    Views
    112

    Re: Help Explain This Java Code

    What does the program do when it's executed?

    You should start adding comments to all the lines that you understand describing what they do.
    Then add a question in a comment for each statement...
  18. Replies
    4
    Views
    127

    Re: Getting names of objects

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

    YOUR CODE GOES HERE

    to get highlighting and preserve formatting.
  19. [SOLVED] Re: Problem Statement: Fill different size boxes with bags most efficently

    First manually work out what the correct answer for the odd number.
    For example: Given 23 bags(???)/boxes, what computations need to be done to get the right answer?
    Write down the simple math...
  20. [SOLVED] Re: Problem Statement: Fill different size boxes with bags most efficently

    If that is the program's output, can you explain what is wrong with it and show what it should be.


    Look at the printf() method. It has formatting ability.
    Also look at the DecimalFormat class.
  21. [SOLVED] Re: Problem Statement: Fill different size boxes with bags most efficently

    Can you copy the program's output, paste it here and add some comments saying what is wrong and show what you want the output to be?

    To show the output, add a println() statement that prints the...
  22. [SOLVED] Re: Problem with string manipulation for program manipulating name of city

    The compiler can not find a definition for the variable: sc
    You need to add a definition for sc and give it a value.
  23. [SOLVED] Re: Problem Statement: Fill different size boxes with bags most efficently

    What have you tried?

    You have some ideas, write the code and see what happens.
  24. Thread: Text Analysis

    by Norm
    Replies
    2
    Views
    104

    Re: Text Analysis

    There is a null value in a variable on line 97 when that statement is executed. Look at line 97, find the variable with the null value and then backtrack to see why it doesn't have a valid value.
  25. Replies
    6
    Views
    136

    Re: URGENT HELP PLEASE!!!!

    Try debugging the code by adding more print statements that show the values of variables as they are changed and used.
    For example what are the values of word and reverseword?
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4