I am trying to learn how to read other peoples code better and having some trouble with it. Does anyone have any suggestions on methods they use to read others codes and make sense of it all? for...
Type: Posts; User: derekxec
I am trying to learn how to read other peoples code better and having some trouble with it. Does anyone have any suggestions on methods they use to read others codes and make sense of it all? for...
do you have to deal correct cards like 2-10, J, Q, K, A? if so youll need to set the jqka to values and show them as J Q K A and also think about the Ace can be 1 or 11 and you can split with 2 of...
you need to get the users input before you start the validation so you have something to check it against
you are using a do while loop wrong
do { <--start loop
stuff you want to do at least...
I too hand code my GUIs i tried the windowbuilder way but when i finished and looked at the code it was jibberish lol
Kevin you said "maybe start building up a portfolio of little programs you...
to make it a bit easier it doesn't say in your original post that it needs the day or year so you could just ask for the month. you will be testing what month it is and using that to determine the...
border layout might be good for this also..check out LINE_START, CENTER and LINE_END for your panels
How to Use BorderLayout (The Java™ Tutorials > Creating a GUI With JFC/Swing > Laying Out...
there is a difference between helping you and doing it for you...right now you are asking us to do it for you and we dont do that sorry
I dont see any code here? post what you have done and what part you are having a problem with
lol jps gives you the info you needed to help yourself and you yell to make the code for you...you are asking for free help sorry not help cause that is what jps provided you are yelling for someone...
System.out.println("Enter your name: "); <-- asks for the input
System.out.print(keyboard.nextLine()); <--gets the input and prints it out
System.out.println(" Enter your age: "); <---asks for...
Thanks jps i was looking for the answers too :D
example of using .equals
check.equals("Yes")
instead of
check == "Yes"
private static String finalstringLETTER_H;
^^this has a null value and then you called it
System.out.println(finalstringLETTER_H);
then you assigned it a value
finalstringLETTER_H="*...
if you take java and c++ you could probably learn c# on your own because its very very similar to them
kevins signature lol
"Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
Static Void Games - Play indie games, learn from game tutorials and source code, upload...
why not do the testing job for a little while because when you make your programs youll have to test them to make sure they are working correctly anyway so it will give you a good skill to help you...
im ok with java and learning more everyday but im also doing some c# at the same time and really there isnt a lot of difference between the 2...knowing java is making it sooooo much easier to learn...
you have to post the whole error message you get or else we will have to just guess until its correct
im trying to learn a lot about good coding practices and i see a lot of different ways people are doing the actionPerformed method...which one is better practice?
button.addActionListener(new...
lol this thread was made in 2009 and the OP still has 1 post...i dont think hes going to see any replies
yeah i ran the code and only could get that bindexception if i tried running it again with 1 instance of it already running...because of course the first instance was listening on the port already
they dont teach any of this stuff before they give you the homework to do it? they just assume you know how to program in java already? lol
Trail: Getting Started (The Java™ Tutorials)
start...
does it do what you want it to do? if so then yes you solved it :D if not then tell whats happening that shouldnt be happening..its not bad to have stuff not go the way you want right away because it...
thats what you should be looking at in his reply
going further could you post a code to a program you made in and we can give you tips on how to make it OO to give you a good idea of how things go and such?