Search:

Type: Posts; User: KevinWorkman

Page 1 of 20 1 2 3 4

Search: Search took 0.78 seconds.

  1. Replies
    4
    Views
    64

    [SOLVED] Re: JPanel color

    Setting the color to null does not magically reset them to the default color. If you want to set them to the default color, you have to store the default color and pass that in instead of null.

    I...
  2. Replies
    4
    Views
    64

    [SOLVED] Re: JPanel color

    Sure. What have you tried? Consult the API: Java Platform SE 8
  3. Re: Advice needed about java database systems

    There are a ton of different ways to do this, and it depends entirely on what you want to do.

    For the database, one side of the scale is using Derby to embed the database inside your program. This...
  4. Re: Advice needed about java database systems

    Who asked you to do this? Is this an assignment, a job, a hobby project?

    Do you need to "store" the database, or just access it?

    The approach you take depends entirely on what you're trying to...
  5. Replies
    8
    Views
    145

    Re: Need help with a parking fees code

    It's not the same forum.

    The problem is that you have people here trying to help you, giving you instructions, asking you questions, etc. They're doing this for free, in their spare time, because...
  6. Replies
    8
    Views
    145

    Re: Need help with a parking fees code

    http://www.java-forums.org/new-java/93365-help-program-calculates-parking-fee.html
  7. Replies
    31
    Views
    268

    Re: What I hope is a quick question

    Can you post your updated code as an MCVE?
  8. Re: jbutton countdown problem help please!

    Shameless self-promotion: here is a tutorial I wrote about Swing Timers: Tutorials - Static Void Games
  9. Replies
    6
    Views
    111

    Re: Java classes static?

    There is an API: Java Platform SE 8

    You can also look at the source included with your JDK.

    Recommended reading:
    Understanding Class Members (The Java™ Tutorials > Learning the Java Language...
  10. 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)
  11. Re: Recursive method to remove vowels in a string

    No.
  12. Re: please help with exception modifications

    Did you have a question?
  13. Replies
    31
    Views
    268

    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...
  14. 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?
  15. Replies
    31
    Views
    268

    Re: What I hope is a quick question

    Hint: The File class has a method called getAbsolutePath() that might help you in debugging.
  16. Replies
    31
    Views
    268

    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...
  17. Replies
    31
    Views
    268

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

    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...
  19. Replies
    31
    Views
    268

    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...
  20. Replies
    5
    Views
    115

    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...
  21. Replies
    31
    Views
    268

    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...
  22. Replies
    5
    Views
    115

    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...
  23. Replies
    5
    Views
    115

    Re: array with ++ operator question

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


    int x = 0;
    x = x+1;


    Can be rewritten as:
  24. Replies
    2
    Views
    78

    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.
  25. Replies
    5
    Views
    70

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