permaculture playing cards*
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
Author

Java Simulation

Mark Miranda
Greenhorn

Joined: Feb 25, 2011
Posts: 24
Hello,

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.

Thanks!

 
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?