Search:

Type: Posts; User: KevinWorkman

Page 1 of 20 1 2 3 4

Search: Search took 2.48 seconds.

  1. Re: jbutton countdown problem help please!

    Recommended reading: How to Use Swing Timers (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Other Swing Features)
  2. Re: Recursive method to remove vowels in a string

    No.
  3. Re: please help with exception modifications

    Did you have a question?
  4. Replies
    23
    Views
    165

    Re: What I hope is a quick question

    Another note: the problem isn't that *netbeans* can't find your file. The problem is that *Java* can't find the file. You have to figure out where Java is looking for that file, and compare that to...
  5. Re: Dialog boxes - multiple language support

    In what way does the component not display the correct language? Can you post an MCVE that demonstrates what you're talking about?
  6. Replies
    23
    Views
    165

    Re: What I hope is a quick question

    Hint: The File class has a method called getAbsolutePath() that might help you in debugging.
  7. Replies
    23
    Views
    165

    Re: What I hope is a quick question

    I posted a link above, but here it is for better visibility: How to create a Minimal, Complete, and Verifiable example - Help Center - Stack Overflow

    Basically, we should be able to copy and paste...
  8. Replies
    23
    Views
    165

    Re: What I hope is a quick question

    Your problem is pretty basic, which is why I was hoping linking you to a google search would help you. That's not meant to be an insult, I'm just trying to tell you that your problem is with your...
  9. Replies
    23
    Views
    165

    Re: What I hope is a quick question

    And what happened when you googled that error?

    Google "java unreported exception must be caught or declared to be thrown" for a ton of information.

    If you still can't figure it out, post your...
  10. Replies
    23
    Views
    165

    Re: What I hope is a quick question

    Your output variable is a FileWriter. You're trying to assign a File value to that variable. That's not going to compile.

    Recommended reading: this is the first result for googling "java write to...
  11. Replies
    5
    Views
    97

    Re: array with ++ operator question

    The best way to get help is by posting an MCVE.

    Try debugging your code: either step through it with a debugger, or add some print statements to figure out what the program is doing. That's all...
  12. Replies
    23
    Views
    165

    Re: What I hope is a quick question

    Break it down into its individual pieces:

    Apparently responses is an array of ints. You get the int at index answer. You use that int as an index into the frequency array, and you increment (add...
  13. Replies
    5
    Views
    97

    Re: array with ++ operator question

    I don't know, it's your code.

    What is the hist array used for? What does it mean to increment one of its indexes?

    Have you tried printing out the values of the array? What are they? What are...
  14. Replies
    5
    Views
    97

    Re: array with ++ operator question

    ++ is simply the increment operator. A simpler example:


    int x = 0;
    x = x+1;


    Can be rewritten as:
  15. Replies
    2
    Views
    72

    Re: Creating a quiz in java

    Sounds like a job for a while loop (or a do-while loop). Google and the tutorials are your friend.
  16. Replies
    5
    Views
    66

    Re: Problem with background

    It's hard to answer general "how do I do this" type questions other than by pointing you to google, which should be your first stop anyway. Technical forums are more for technical questions: "I tried...
  17. Replies
    5
    Views
    66

    Re: Problem with background

    What have you tried so far? What did google tell you?
  18. Replies
    20
    Views
    192

    Re: Homework help

    What have you tried? Which part of each individual problem is giving you trouble? What exactly are you confused about?

    It's pretty hard to answer questions like "how do I do XYZ" other than by...
  19. Replies
    20
    Views
    192

    Re: Homework help

    Did you have a question?
  20. Replies
    2
    Views
    107

    Re: A question regarding Java DATE

    Why don't you just modify your system time to reflect a change in daylight savings time and see what Java does?
  21. [SOLVED] Re: Getting a ton of (Unknown Source) errors

    That variable declaration is inside the constructor. That means as soon as the constructor completes, that variable is no longer in scope and can't be accessed elsewhere in the code.

    You either...
  22. [SOLVED] Re: Getting a ton of (Unknown Source) errors

    Okay, and where did you define loggedU? When is it in scope? When does it go out of scope?
  23. [SOLVED] Re: Getting a ton of (Unknown Source) errors

    And what line gives you the error?
  24. [SOLVED] Re: Getting a ton of (Unknown Source) errors

    Please post your updated code.
  25. [SOLVED] Re: Getting a ton of (Unknown Source) errors

    Pass the window1 instance into the window2 constructor.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4