Search:

Type: Posts; User: Benner

Search: Search took 0.08 seconds.

  1. [Swing] JPanel is being added twice to my JFrame in different positions?

    I believe this is the right section for this, the Swing section looked like it was for questions rather than problems in code.

    Hi, in my program I have a JFrame (with a borderlayout) with one...
  2. Re: Can you think of a better way to do this? (I'm desperate!)

    It's just a project for physics class, where we need to demonstrate the physics involved in various things. We had present this information in a "special" form, so i chose to do this. It's kind of...
  3. Re: Can you think of a better way to do this? (I'm desperate!)

    Hi, Ill try to explain what I'm doing and how I'm doing it better. And sorry if posting my .jar is not allowed (if thats why the link was removed). I'm not very good at explaining things...

    My...
  4. Replies
    44
    Views
    4,607

    Re: how can i make a jbutton to close a jframe??

    You could use frame.setVisible(false); There's probably a 'right' way to actually close it though
  5. Can you think of a better way to do this? (I'm desperate!)

    Hi, I'm making a gui with swing for a physics project. I'm really in trouble with this, I was supposed to hand it in last week (I have an extension for monday), because the coding part is taking so...
  6. Replies
    4
    Views
    1,355

    [SOLVED] Re: My loop skips index[0] of my array

    Thank you!
  7. Replies
    4
    Views
    1,355

    [SOLVED] Re: My loop skips index[0] of my array

    Sorry, I didn't put that in my post. I had two problems arise. My first problem was that in


    System.out.println("How many players are playing?");
    numberOfPlayers = (input.nextInt() + 1);...
  8. Replies
    4
    Views
    1,355

    [SOLVED] My loop skips index[0] of my array

    Hi, i'm getting really frustrated with my code... as soon as a solve one problem another one comes up. Two problems arose in my code that I've realized are a result of the same problem. I have the...
  9. Replies
    1
    Views
    1,043

    [SOLVED] Creating an array of objects

    Hi, for a homework assignment I need to create a program that keeps track of the bowling scores of a number of players. I have the user enter the number of players, and then an array of objects is...
  10. [SOLVED] Beginner java: I'm getting one of three errors everytime I run my code?

    I'm sorry, I found the answer to my question and I don't think I can delete this thread?
Results 1 to 10 of 10