File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes simulations in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "simulations in java" Watch "simulations in java" New topic

simulations in java

nadeenaaaa Bismarckaaa

Joined: Aug 18, 2004
Posts: 1
Hi! i'm new here as you can see, i joined this website because i need help in my end of year project. Ok am a begginner in java, and when i say begginner i mean i'm really very green in java. I have this project where i am simulating token ring and i have no idea where to start or what to do please help. I need to know how to link events to a set of instructions like one button can be pressed like 10 times and i want every time it is pressed it draws the same item at a different place. Or a circulating token which i have no idea how to even start on that one so please guys help.

To resist is to piss in the wind, if you try you'll end up smelling!!
pascal betz
Ranch Hand

Joined: Jun 19, 2001
Posts: 547

you should try the beginners forum because this is about Object Relational Mapping stuff.

hava a look at JPanel (especially the paint(Graphics g) method) , JButton, ActionListener, ActionEvent.


Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

You are right Pascal.

nadeenaaaa Bismarckaaa this is a forum for ORM tools like Hibernate, and your question isn't at all about an ORM, so I am going to move this thread to the Java In General (Beginner) forum.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

"nadeenaaaa Bismarckaaa"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

While I believe that it is probably really close to your actual name spelling, however I doubt that you have three "a" in both your first and last names.

You can change it


Thanks! and welcome to the JavaRanch!

Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Here is a list of free on-line Java tutorials and books that I have found useful:
  • Sun's Java Tutorial
  • Introduction to Computer Science using Java by Bradley Kjell
  • Introduction to Programming Using Java by David J. Eck
  • Dick Baldwin's Java Programming Tutorials
  • Interactive Programming In Java by Lynn Andrea Stein
  • Bruce Eckel's Thinking In Java
  • JavaRanch's own Campfire Stories
  • Allen B. Downey's How To Think Like A Computer Scientist

  • [How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
    I agree. Here's the link:
    subject: simulations in java
    It's not a secret anymore!