Search:

Type: Posts; User: Skynet928

Search: Search took 0.43 seconds.

  1. Replies
    13
    Views
    295

    Re: Problem reading in the files

    Can't say I know how to do that norm. What do you mean using the java command?
  2. Replies
    13
    Views
    295

    Re: Problem reading in the files

    I'm using netbeans like I said but I could try using eclipse, would that work? I have in the "My Documents" folder my netbeans folder where it then saves all my projects by default in the projects...
  3. Replies
    13
    Views
    295

    Re: Problem reading in the files

    It opens up normally in any editor and I just tried a different name. Nothing. I tried this on another computer, still the same thing. I'm using netbeans if that helps. I also used different editors...
  4. Replies
    13
    Views
    295

    Re: Problem reading in the files

    Well, at least you tried. I ask my professor the same thing and it just baffles him as much as it does you. I take it you never seen something quite like this? I swear it's crazy and people think I'm...
  5. Replies
    13
    Views
    295

    Re: Problem reading in the files

    It will read files in like it is supposed to. It is suppose to count the lines and words in the document but it doesn't matter what I give it, it works. I would of put the statement you put in cause...
  6. Replies
    13
    Views
    295

    Re: Problem reading in the files

    It compiles just fine and all but it won't read it in. It won't even throw the exception
  7. Replies
    13
    Views
    295

    Problem reading in the files

    I have this piece of code that is suppose to read in a file and count how many lines it has, number of words, etc... but for some reason it is not reading this file in for some reason
    ...
  8. Replies
    4
    Views
    231

    Re: Why do I get an infinite loop?

    Ok so I did some println on the code but the reason it gives you that error is cause I didn't include the classes since it's somewhat numerous. I notice that when I start the program, for some...
  9. Replies
    4
    Views
    231

    Re: Why do I get an infinite loop?

    Hmm....I could try that but not until later today but like I mentioned, for some reason when I added a println to the method in question, it sometimes goes infinite or it will output the code three...
  10. Thread: compiler

    by Skynet928
    Replies
    10
    Views
    601

    Re: compiler

    I think you might of posted in the wrong forum cause this is for posting code and asking what is wrong with it but even I don't know what you are asking in general. Do you mean the code to make a...
  11. Replies
    4
    Views
    231

    Why do I get an infinite loop?

    I am trying to make a ball game that will simply make some bricks and such and destroy them when they get hit by the ball. The ball, paddle, brick, and such are all using their own classes so I don't...
  12. Re: How do I delete an object from my program?

    Would it be possible for me to put those shapes in an array so i don't have to write if statements for each and every one?
  13. Re: How do I delete an object from my program?

    all I want to do is make shapes at the top of the screen and make a paddle with a ball at the bottom and every time the ball hits the paddle and it hits the block the block disappears.
  14. Re: How do I delete an object from my program?

    So in order to have the shapes drawn, I have to have them drawn every cycle and if I tell it to skip the statement then it will erase it? What if I wanted to draw multiple blocks that will erase when...
  15. Re: How do I delete an object from my program?

    Well, it's not that easy. I could comment it out but I want to get rid of it mid game. Not during compilation.
  16. How do I delete an object from my program?

    So I have this bit of code, not complete but can give you complete code if needed, and so far, it makes a few shapes which is great and all but I need it to delete shapes on request. I want to make a...
  17. [SOLVED] Re: Can't seem to get starting position right

    Actually what I meant to ask was, what exactly is short, self contained, correct example? I read it a bit but I didn't quite understand what it was. Here is what I am thinking it is, I think it is a...
  18. [SOLVED] Re: Can't seem to get starting position right

    Forgive me if this is a stupid question but what is SSCCE? I read it and I'm not sure I catch the jist of it. As for what I want to happen, I just want to be able to set the starting position of the...
  19. [SOLVED] Re: Can't seem to get starting position right

    Well, this is just a portion of it. The JFrame is set in the Main() method and all everything needed is set in another java class. The BouncePanel() is what I was messing with to edit the starting...
  20. [SOLVED] Can't seem to get starting position right

    So I have this code that I made to make a ball bounce off the sides of the window no matter what the size of it, yet, I don't know what to do about this problem. Towards the bottom of the code, there...
  21. How can I assign random cards to correct images?

    I have a deck of cards that I want to make in order and shuffle and when they are shuffled, I want to deal them out on the table but I don't know how to assign the correct image to the card. The card...
  22. Replies
    1
    Views
    239

    Why can't I get my cards to move?

    I have this piece of code up and running but I can't seem to get my cards to move. Is there something I am doing wrong? I was able to get them to show up front and back, and flip when I click on...
  23. Replies
    1
    Views
    346

    How can I get my card game running?

    Firstly, I would like to point out that this assignment is already past due so even if you were to program it for me, it would do me no good other than me learning it. I have been trying to figure...
  24. [SOLVED] How can I get my dice roller to completely loop and sort results correctly?

    So I have this code that I wrote and for now it only works with two dice. I am currently trying to get it to recognize more than two dice or possibly one die but for now I keep getting exceptions in...
Results 1 to 24 of 24