Meaningless Drivel is fun!*
The moose likes Applets and the fly likes Java Simulation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Java Simulation" Watch "Java Simulation" New topic

Java Simulation

Mark Miranda

Joined: Feb 25, 2011
Posts: 24

I've new to Java and i'm trying to create an applet that would simulate packet transmission.

Can someone provide a tiny example on how I can get a button to send an image across the screen?

I got started with the code below which basically just bounces "Hello Java" across the screen.


It is sorta covered in the JavaRanch Style Guide.
subject: Java Simulation
Similar Threads
how to add button to this?
Links in Applets
Having Problems with Multithreading Two Animations
Java scrolling array string problems just need to get it done not trying to learn
How to make a java applet repeat infinitently?