Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package antfarm;
- import java.awt.Dimension;
- import javax.swing.JFrame;
- /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
- /**
- *
- * @author Few
- */
- public class Simulation {
- /**
- * @param args the command line arguments
- */
- Simulation(){
- JFrame window = new JFrame("AntFarm");
- window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- window.setMinimumSize(new Dimension(320,240));
- AntFarm antfarm = new AntFarm();
- window.getContentPane().add(antfarm);
- window.pack();
- window.setVisible(true);
- }
- public void run(){
- }
- public static void main(String[] args) {
- // TODO code application logic here
- Simulation AntFarm = new Simulation();
- }
- }
Add Comment
Please, Sign In to add comment