frame.pack();
frame.setVisible(true);
}
public void InitCortex() {
crtx = new CortexThread();
try {
crtx.region.desiredLocalActivity = new Integer(textField1.getText());
crtx.region.minOverlap = new Integer(textField2.getText());
crtx.region.connectedPerm = new Double(textField3.getText());
crtx.region.permanenceInc = new Double(textField4.getText());