Search:

Type: Posts; User: Norm

Page 1 of 20 1 2 3 4

Search: Search took 2.00 seconds.

  1. Re: How do I get my program to read .txt files? My code doesn't work. Can you please post your code? I use eclipse.

    Can you explain what the problem is for the posted code?
  2. Re: Convert a file in UTF8 format to UTF16 on command-line

    Look at the InputStreamReader and OutputStreamWriter classes. Their constructors take parameters for different charactersets.
  3. Re: What is wrong with my code? Handling button events in eclipse standard 4.4? Java?

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


    YOUR CODE GOES HERE

    to get highlighting and preserve formatting.

    It looks like you left out some code for this program. See the...
  4. Re: design and develop a progrma to implement lazy buddy system algorithm

    What have you done so far? Where are you having problems?
  5. Replies
    10
    Views
    11

    Re: Help with paper rock scissors game

    Please copy the full text of any error messages and paste it here.
  6. Replies
    10
    Views
    11

    Re: Help with paper rock scissors game

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


    YOUR CODE GOES HERE

    to get highlighting and preserve formatting.

    One problem I see is the use of == to compare String objects. You...
  7. Replies
    6
    Views
    7

    Re: Why can't I get my variable to display?

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


    YOUR CODE GOES HERE

    to get highlighting and preserve formatting.
  8. Thread: Java Curiosities

    by Norm
    Replies
    2
    Views
    3

    Re: Java Curiosities

    The compiler will give you some error messages that may help you understand what the problems are.
  9. Replies
    28
    Views
    29

    Re: How to set a button event trigger?

    Can you explain what "doesn't work" means? Is the method called? Add a println() statement that prints out the value returned by the getSource() method to see what component is causing the event and...
  10. Replies
    37
    Views
    38

    Re: Empty dialog

    What controls the positions of the components added to the dialog window?
  11. Thread: Unexpected type

    by Norm
    Replies
    7
    Views
    8

    [SOLVED] Re: Unexpected type

    The posted code:

    is different from the error message:


    Can you copy the fulll and EXACT text of the error message and post it. What was posted does not make sense. The code and the error...
  12. Replies
    33
    Views
    34

    [SOLVED] Re: LinkedList -- insert()

    You left off the part of the error message that shows where the error is happening. What is the source line?
  13. Replies
    28
    Views
    29

    Re: How to set a button event trigger?

    final means the variable's value can't be changed. The contents of the object can be changed.
  14. Replies
    18
    Views
    19

    Re: My program is not displaying the answer :(

    @jocdrew21 Please read: http://www.javaprogrammingforums.com/cafe/9544-problem-spoon-feeding.html
  15. Replies
    8
    Views
    9

    Re: Java question in exam help

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


    YOUR CODE GOES HERE

    to get highlighting and preserve formatting.

    Also use the compiler to find any errors so you can correct them...
  16. Replies
    4
    Views
    5

    [SOLVED] Re: how to use a phone to test app in juno?

    Can you use email to send it the .apk file?
  17. Replies
    28
    Views
    29

    Re: How to set a button event trigger?

    You need an action listener. See the tutorial: How to Write an Action Listener (The Java™ Tutorials > Creating a GUI With JFC/Swing > Writing Event Listeners)
  18. Thread: Research!

    by Norm
    Replies
    9
    Views
    10

    Re: Research!

    Many modern languages include both features.
  19. Replies
    6
    Views
    7

    Re: I need help in this coding

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


    YOUR CODE GOES HERE

    to get highlighting and preserve formatting.
  20. Replies
    23
    Views
    24

    Re: getProcessCPUTime()

    Have you asked an internet Search engine how to do that?

    You may have to use JNI to get hardware stats.
  21. Replies
    23
    Views
    24

    Re: getProcessCPUTime()

    Don'r use it if you don't know what its used for.
  22. Replies
    18
    Views
    19

    Re: My program is not displaying the answer :(

    The way to tell is to debug the code. I would add several println() statements to print out the values of all the variables used in the computations to see what their values are.
  23. Replies
    23
    Views
    24

    Re: getProcessCPUTime()

    Please copy the text of the doc that you don't understand and post it here with your questions about it.
  24. Replies
    18
    Views
    19

    Re: My program is not displaying the answer :(

    Where is the value computed that is assigned to the variable shown in the textfield?
    Look at the contents of the variables used in the computation to see if they are correct.
    For example are they...
  25. Replies
    18
    Views
    19

    Re: My program is not displaying the answer :(

    Ok, that's progress. Now you see a value. Now Where is the variable whose value is placed in the textfield, assigned a value?
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4