I don't see what is wrong.
Type: Posts; User: tyb97
I don't see what is wrong.
I see. Thank you for the kind insight.
Ahh, thanks a ton. I still don't fully understand them, but in time I will. I was able to reduce my code from the above to this:
package org.buchanan.math;
public class Numbers {
public...
I am trying to create an "algorithm" (what I have now really isn't), I just can't seem to wrap my head around the concept, or on how to do this.. Here is the monstrosity I have created so far:
...
I am looking to create a game, so I guess I will go with LWJGL, I tried out JMonkey, but don't really like how I'm stuck to that IDE. I dislike it.
Whats the best 3D API for Java? I've heard a lot about Java3D, I also hear JMonkey is good, any ideas?
Thanks for this! I just got the pdf, looks promising!
Oh thanks, the GroupLayout really catches my eye, I going to try it.
I mean, it looks horrible,
http://i1109.photobucket.com/albums/h430/tyb97/MyGUI.png
What are some layout options that I have to make this better? Like adjust where the buttons are, and make...
I am making a very simple Gui at the moment, but don't know how to make it look good. it looks horrible right now, could someone teach me at how to make it look better?
import java.awt.*;...
There is much wrong with this code from what I can see, use an IDE, such as eclipse or netbeans.
Could you please use code tags? Like
[ code]
code here, with out the spaces
[/ code]
this is what it will come out like
CODE HERE
Here is how it would go,
Name this, GuessGame.java
public class GuessGame{
Player p1;
Player p2;
Player p3;
public void startGame() {
At the end and beginning of your code, example
CODE HERE
I did this, without the spaces
[ code]
your code here
[/code ]
It's hard to read your code with out that, if you put it in the...
I don't quite get what your trying to do, care to elaborate more?
Ok, I will change it.
A small command line application? Like a simple guessing game?
I know a little about swing, I have some books on it even, but will I be able to use the code I do now in GUI's?
Here is my question, I have some experience with writing regular programs in the command prompt, I know very little about swing, and understand how GUI´s work, but how will the code I have made, work...
Try this code in your compiler, C:\Program Files\Java\javac.exe
Also, if you installed java in the Program Files (x86) folder, use this
C:\Program Files (x86)\Java\javac.exe
Another thing,...
Thanks all, it works great now, I have always had issues with this, so I now can continue on ;) Thanks.
Ok, take a look at this:
import static java.lang.System.out;
import java.util.*;
public class mainMenu {
private static String Choice;
private static String Fight;
private static String...
Ok, how would I make it only have 1 false and 1 true statement? Would it just be a single if-else statement instead?
Hello, I am trying to construct a football simulator game, here is the code that I have so far:
import java.util.Scanner;
import java.util.Random;
public class gamePlay{
public static...
Thank you, I will look into that, and I'm making my first Java program, that's what I need help with, but its fixed now, so thank you!