- Timestamp:
- 01/09/13 00:09:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/main/src/main/java/com/framsticks/visualization/Viewer.java
r77 r78 1 1 package com.framsticks.visualization; 2 2 3 import com.framsticks.communication.Connection;4 3 import com.framsticks.model.World; 5 4 import com.sun.j3d.loaders.IncorrectFormatException; … … 22 21 import java.awt.event.ActionListener; 23 22 import java.io.FileNotFoundException; 24 import java.util.ArrayList;25 23 26 24 import org.apache.log4j.Logger; 27 25 28 29 30 26 public class Viewer { 31 static final long serialVersionUID = 1; 32 33 private static Logger logger = Logger.getLogger(Viewer.class); 27 28 private static Logger LOGGER = Logger.getLogger(Viewer.class); 34 29 35 30 Canvas3D canvas3d; … … 45 40 private JCheckBoxMenuItem autorefreshItem; 46 41 47 private Connection connection; 48 ArrayList<String> args; 49 50 public Viewer(ArrayList<String> args, JMenuBar menuBar) { 42 public Viewer(JMenuBar menuBar) { 51 43 super(); 52 this.args = args;53 44 this.menuBar = menuBar; 54 45 loggingItem = new JCheckBoxMenuItem("Logging"); … … 56 47 57 48 init(); 58 59 49 } 60 50 … … 261 251 } 262 252 263 264 265 266 public void setCommunication(Connection connection) {267 this.connection = connection;268 }269 270 253 public void rebuildViewMenu(Object creatures) { 271 254
Note: See TracChangeset
for help on using the changeset viewer.