Search:

Type: Posts; User: Norm

Page 1 of 20 1 2 3 4

Search: Search took 0.59 seconds; generated 32 minute(s) ago.

  1. Thread: Wheel Of Fortune

    by Norm
    Replies
    1
    Views
    53

    Re: Wheel Of Fortune

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

    YOUR CODE GOES HERE

    to get highlighting and preserve formatting.

    A 2D array would be a way to store the data for the game.
  2. Replies
    12
    Views
    149

    Re: beginner's radio button question

    If you want to be able to select more than one checkbox, then they can not be in a Group.
    If you put references to all the checkboxes in your group into a list, you could iterate through the list...
  3. Re: instand chatter multiple client connect to one server

    The server needs to start a new thread when a client connects and pass it the client's socket.

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

    YOUR CODE GOES HERE

    to get...
  4. Thread: Library Example

    by Norm
    Replies
    7
    Views
    79

    Re: Library Example

    ok, answer these questions:
    What statement shows the error?
    What variable has the bad value?

    Then backtrack in the code to see why that variable has that value. Add some println() statements to...
  5. Thread: Library Example

    by Norm
    Replies
    7
    Views
    79

    Re: Library Example

    Looks like you need to debug the code to see why the value was incorrect.
    What variable had the wrong value?
    Where did that variable get the wrong value?

    NOTE: Single (and double) letter...
  6. Thread: Library Example

    by Norm
    Replies
    7
    Views
    79

    Re: Library Example

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

    YOUR CODE GOES HERE

    to get highlighting and preserve formatting.


    What are the problems with those methods? What happens when...
  7. Thread: Library Example

    by Norm
    Replies
    7
    Views
    79

    Re: Library Example

    Please post any code you are having problems with here on the forum. No links. Be sure to wrap the code in code tags.
    Also if there is a problem with the program's output, copy that output, paste...
  8. Replies
    6
    Views
    88

    Re: Comparing string data

    Use the equals() method to compare two String objects for equality.
  9. Replies
    12
    Views
    149

    Re: beginner's radio button question

    If you want to be able to select more than one then they need to be out of the group.

    Describe the behaviour you want for the checkboxes. So far you have conflicting requirements.
  10. Replies
    12
    Views
    149

    Re: beginner's radio button question

    Can you take them out of the Groups so you can chose more than one?

    How can you chose more than 2 if there are only 2?

    Note: The check boxes should not be enabled until a procedure is chosen.
  11. Replies
    12
    Views
    149

    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....
  12. Replies
    12
    Views
    149

    Re: beginner's radio button question

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

    Moved to IDE section.
  14. Thread: Tracking objects

    by Norm
    Replies
    2
    Views
    83

    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...
  15. [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:
    ...
  16. [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.
  17. [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.
  18. [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...
  19. Replies
    3
    Views
    78

    Re: Converting Array into ArrayList

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

    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...
  21. [SOLVED] Re: Problem Statement: Fill different size boxes with bags most efficently

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

    by Norm
    Replies
    2
    Views
    62

    Re: Java 1.5 to 1.7

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

    Please explain what problems you are having with the program?
  24. 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...
  25. Replies
    4
    Views
    106

    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");
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4