Commit 0cbc9c49 authored by apvrille's avatar apvrille

Updating network model management

parent e11880f5
......@@ -80,6 +80,7 @@ public class JDialogLoadingNetworkModel extends javax.swing.JFrame implements Ac
private JTextAreaWriter textAreaWriter;
protected JButton start;
protected JButton stop;
protected JList<String> featureList;
protected JScrollPane jsp;
......@@ -145,6 +146,12 @@ public class JDialogLoadingNetworkModel extends javax.swing.JFrame implements Ac
jsp = new JScrollPane(jta, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
jsp.setPreferredSize(new Dimension(400, 200));
JPanel options = new JPanel();
featureList = new JList<String>(FEATURES);
options.add(featureList);
lowPart.add(options, BorderLayout.NORTH);
lowPart.add(jsp, BorderLayout.CENTER);
start = new JButton("Load", IconManager.imgic23);
......
......@@ -68,7 +68,9 @@ public class NetworkModel {
//super(_fileName);
fileName = _fileName;
features = new boolean[JDialogLoadingNetworkModel.FEATURES.length];
features[0] = true;
props = new boolean[JDialogLoadingNetworkModel.PROPS.length];
props[0] = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment