The weird thing is that the .jar does work after I added the extra "catch" part after the ImageIO.read() so while it does indeed seem like my path would not be valid when I've exported the jar, it...
Type: Posts; User: Ecen
The weird thing is that the .jar does work after I added the extra "catch" part after the ImageIO.read() so while it does indeed seem like my path would not be valid when I've exported the jar, it...
So, I'm creating a card game. To create the background image I create a level class from a bunch of different tiles. These tiles are selected from scanning a .png image: depending on the colors of...
So, I'm writing somewhat of a 2D physics engine to simulate the movement of a ball. Part of that is to make sure that the ball bounces correctly when it collides with any line.
The speed of the...
Hello!
I'm on an assignment to create a java program with certain specifications.
The first thing that I have to do, is to hand in a planning of my work, consisting of "class diagram with...
Hello!
I've been registered here for some time now, and already received lots of help. However, as I will probably hang around here for some time I might as well present myself, too!
I'm a...
Well, it seems I was able to work it out, thanks to awesome help!
Thank you very much :)
Hm... yes, I will definitely take an even closer look at this tomorrow. I'm having thoughts about what to do when the circle is close to the edges of my line though, as the line, and ultimately...
Ah, I think I'm starting to get it now. I'm not a native english speaker so I interpreted "right angle" as "correct angle", instead of an angle of 90 degrees, which I assume is what you meant. Thanks!
I think I understand what you mean, and I also think there are trig functions enough to do that, so I will go ahead and try. It definitely seems better than my method, only problem is that I have...
Hm... I don't quite understand how I would know what point is closest by checking angles. Could you explain that more?
The radius is of course what I'm using though. Currently I want to check if...
Hello!
I'm a java beginner and have recently encountered a problem that I have not been able to solve or find a solution to.
Hopefully this is also in the correct sub-forum.
In my program I...
Ok, thanks! I will sure try that!
Everyone here is so helpful, this has been my first thread, but I will sure stay :)
Ah, ok. Thanks! I might try that!
Thanks KevinWorkman and Elamre too! I did get it to work though and it runs just fine on my and most of my friends computers.
However, when one of my friends tries to start the file from the .bat...
Ah, so it's supposed to be simple. It would seem I managed to get it to work now when exporting it as a runnable jar. It was then just run it with the proper command. Sadly I must have missed doing...
Hello!
I'm just starting out with programming and Java is my first language in which I code. However, while the coding itself is advanced but relatively easy to find information about I have had...