Results 1 to 5 of 5
  1. #1
    livingdog's Avatar
    livingdog is offline Member
    Join Date
    Jan 2010
    Location
    nyc
    Posts
    12
    Rep Power
    0

    Default 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.

  2. #2
    Lil_Aziz1's Avatar
    Lil_Aziz1 is offline Senior Member
    Join Date
    Dec 2009
    Location
    United States
    Posts
    343
    Rep Power
    5

    Default

    hey welcome to the forums!!
    "Experience is what you get when you don't get what you want" (Dan Stanford)
    "Rise and rise again until lambs become lions" (Robin Hood)

  3. #3
    livingdog's Avatar
    livingdog is offline Member
    Join Date
    Jan 2010
    Location
    nyc
    Posts
    12
    Rep Power
    0

    Default

    Thanks Aziz.

    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.

  4. #4
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Quote Originally Posted by livingdog View Post
    ... years ago, but now I am trying to write a program that will do real physics - like with particles and forces and stuff.

    ....
    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.

  5. #5
    livingdog's Avatar
    livingdog is offline Member
    Join Date
    Jan 2010
    Location
    nyc
    Posts
    12
    Rep Power
    0

    Default

    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."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •