Advertisement
Guest User

Untitled

a guest
Apr 17th, 2014
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. public class CarSimulation implements SimulationListener
  2.  
  3. public static void main(String[] args) {
  4. EventQueue.invokeLater(new Runnable() {
  5. @Override
  6. public void run() {
  7. try {
  8. CarSimulation window = new CarSimulation();
  9. window.CarSimulation.setVisible(true);
  10. Cars cargame = new Cars();
  11.  
  12. } catch (Exception e) {
  13. e.printStackTrace();
  14. }
  15. }
  16. });
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement