public ConnectionConfig(jmri.jmrix.NetworkPortAdapter p){
  super(p);
  String h=adapter.getHostName();
  if (h != null && !h.equals(JmrixConfigPane.NONE)) {
    hostNameField=new JTextField(h);
  }
  String t="" + adapter.getPort();
  if (!t.equals("0")) {
    portField=new JTextField(t);
  }
}

public ConnectionConfig ( jmri . jmrix . NetworkPortAdapter p ) { super ( p ) ; String h = adapter . getHostName ( ) ; if ( h != null && ! h . equals ( JmrixConfigPane . NONE ) ) { hostNameField = new JTextField ( h ) ; } String t = "" + adapter . getPort ( ) ; if ( ! t . equals ( "0" ) ) { portField = new JTextField ( t ) ; } }
ctor for an object being created during load process ; swing init is deferred .
