Can't say I know how to do that norm. What do you mean using the java command?
Type: Posts; User: Skynet928
Can't say I know how to do that norm. What do you mean using the java command?
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...
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...
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...
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...
It compiles just fine and all but it won't read it in. It won't even throw the exception
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
...
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...
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...
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...
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...
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?
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.
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...
Well, it's not that easy. I could comment it out but I want to get rid of it mid game. Not during compilation.
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...
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...
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...
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...
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...
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...
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...
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...
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...