I taught Java 1 ...
... years ago, but now I am trying to write a program that will do real physics - like with particles and forces and stuff.
I started by skimming the pages of the Java 2 text we used and am stuck on a problem and need help with it. So if I find the right forum then I'll post it there. If not I'll come back here and risk getting flamed.
So hi.ClassHello(); to everyone.
hey welcome to the forums!!
I forgot to mention to you that there is also an Advanced Physics Forum, which IMO, is not as good as the Physics Forum, and also Cramster which charges $10/mo or $60 per year. Their advantage is that they publish many solutions to the very textbooks which schools use.
If it's a Java program you are writing I see no reason why you can't the problem here. Unless if the problem you got in the text has nothing to do with Java.
Originally Posted by livingdog
My problem was about the flow control of applets. I have since talked to an expert and my new understanding is that one should not think of Java as a linear language, such as FORTRAN.
Now I see Java as a way of painting the applet using the various brushes (methods) and colors (classes) available. One should also think in terms of buttons and events triggered by mouse actions.
FORTRAN is linear and sequential;
Java is coincidental and spatial.
So I deleted my previous post, with the code, b/c I realized that my mind set for Java was all wrong.
"What we have here, is a FAILURE to communicate."