Search:

Type: Posts; User: KevinWorkman

Page 1 of 20 1 2 3 4

Search: Search took 0.34 seconds.

  1. Re: How to add all even numbers between 2 and a user input number which is included in the Addition

    You might want to look into the modulus operator for determining whether a number is even or odd.
  2. Re: How to add all even numbers between 2 and a user input number which is included in the Addition

    On each iteration of the loop, what number do you want to add to the sum?
  3. Replies
    8
    Views
    9

    Re: why wony my label show on gui

    Can you show us an SSCCE instead of an incomplete code snippet?
  4. Re: Any good websites to practice programming?

    You might want to check out Project Euler: https://projecteuler.net/

    Or you might think about giving yourself your own assignments: make a clone of an existing game (like Pong, not like call of...
  5. Replies
    3
    Views
    4

    Re: REGEX For Uppercase Alphanumeric

    If you're splitting it up into multiple regular expressions, which one is giving you trouble now?
  6. Replies
    1
    Views
    2

    Re: date and time

    What part of this are you having trouble with? Where are you stuck? How are you storing the dates in your code? Where is your small example program? (Not your whole project, just an SSCCE)
  7. Replies
    1
    Views
    2

    Re: i need help

    This question is way too broad for us to answer other than pointing you to google and the basic tutorials.

    Are you trying to create a command-line program? A GUI? A web-based program? Something...
  8. Re: Copy Selected Value from JComboBox to jTextField

    Cool. And did you check out the API for JComboBox?

    Here's a link to the API: Java Platform SE 8
  9. Re: Copy Selected Value from JComboBox to jTextField

    What is in your JComboBox? Strings? Objects? Images? Something else?

    Check out the API for JComboBox for methods that might give you the selected item...
  10. Replies
    4
    Views
    5

    Re: a simple question for suggestions

    The best thing to do would be to ask your teacher.

    But I would guess that Java girl is right. Instead of having a bunch of standalone programs, you should wrap each program up into its own method...
  11. Replies
    2
    Views
    3

    Re: Alternative method solutions

    These methods don't do the same thing. How about you tell us which one accomplishes the goals you listed?
  12. Replies
    1
    Views
    2

    Re: drawing just a line, please

    See tutorials on custom painting here: Lesson: Performing Custom Painting (The Java™ Tutorials > Creating a GUI With JFC/Swing)

    And here: Custom Painting - Tutorials - Static Void Games
  13. Replies
    19
    Views
    20

    [SOLVED] Re: JFrame - ImageIcon not displaying

    What happened when you tested it out with a smaller image?
  14. Re: Java WebApp not woring with JRE7 update 51.

    What login page? Is it a Java applet? Something else? What displays in your Java console?
  15. Replies
    19
    Views
    20

    [SOLVED] Re: JFrame - ImageIcon not displaying

    Yep, that's pretty much what mine looks like. Try printing this to see if Java is looking in the right place:

    System.out.println(new File("splash_screen.png").getAbsolutePath());

    --- Update ---...
  16. Replies
    19
    Views
    20

    [SOLVED] Re: JFrame - ImageIcon not displaying

    Your code works fine for me. What does your directory structure look like?
  17. Replies
    19
    Views
    20

    [SOLVED] Re: JFrame - ImageIcon not displaying

    Does the layout you're using respect the bounds you've set? Normally you either use a layout *or* setBounds, not both.
  18. Replies
    1
    Views
    2

    Re: New software

    http://www.java-forums.org/new-java/87280-new-software-dont-know-hoe-run.html
  19. Replies
    50
    Views
    51

    Re: resetting label text alongside gui

    You've posted code that sets the text of a JLabel. What is preventing you from using that code on the JLabel you want to reset?

    --- Update ---
    ...
  20. Replies
    3
    Views
    4

    Re: REGEX For Uppercase Alphanumeric

    One way to do this would be to split it up into multiple regular expressions: one to make sure it doesn't contain lowercase letters, one to make sure it contains at least one number, and one to check...
  21. [SOLVED] Re: Need a little guidance on overall Java

    Thanks, that's awesome to hear! I've got some big plans for this summer that I'm really looking forward to, so stay tuned!
  22. Replies
    50
    Views
    51

    Re: resetting label text alongside gui

    Why aren't you able to reset the text for that JLabel?
  23. [SOLVED] Re: Need a little guidance on overall Java

    Are you asking how to show off what you've done so far?

    If so, the cafe section of this forum is for that type of thing: The Cafe

    But honestly, you probably won't get a lot of hits from that,...
  24. Replies
    50
    Views
    51

    Re: resetting label text alongside gui

    What do you mean by "reset"? What have you tried? Where are you stuck?
  25. Re: I am not sure what else do I need to complete it

    We aren't either. What's your question?
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4