Skip to content

Instantly share code, notes, and snippets.

@573
Created October 23, 2012 14:28
Show Gist options
  • Save 573/3939053 to your computer and use it in GitHub Desktop.
Save 573/3939053 to your computer and use it in GitHub Desktop.
The HelloWizard.java file (JPF)
/** HelloWizard.java */
package simple.simphony.pluslib.plugin;
import java.util.Map.Entry;
import javax.swing.JOptionPane;
import repast.simphony.data.analysis.NetworkAnalysisPluginWizard;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.Multimap;
public class HelloWizard extends NetworkAnalysisPluginWizard
public HelloWizard() {
super(null);
JOptionPane.showMessageDialog(null, "HelloWizard initialized");
Multimap<String, String> methods = HashMultimap.create();
methods.put("key1", "value1");
for (Entry<String, String> e : methods.entries()) {
JOptionPane.showMessageDialog(null, e.getKey() + ": " + e.getValue());
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment