private void createPropertyDialog() { myFrame = getFrame(this); propDialog = new propertyDialog(myFrame); String host = util.getHost(); String port = "" + util.getPort(SnmpContextBasisFace.DEFAULT_PORT); String socketType = util.getSocketType(); String comm = util.getCommunity(); if (host != null) { propDialog.setHost(host); } if (port != null) { propDialog.setPort(port); } if (comm != null) { propDialog.setCommunityName(comm); } if (socketType != null) { propDialog.setSocketType(socketType); } propDialog.addActionListener(this); propDialog.pack(); }