Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class CarSimulation implements SimulationListener
- public static void main(String[] args) {
- EventQueue.invokeLater(new Runnable() {
- @Override
- public void run() {
- try {
- CarSimulation window = new CarSimulation();
- window.CarSimulation.setVisible(true);
- Cars cargame = new Cars();
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement