private void createPropertyDialog() { propDialog = new propertyDialog(null); 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(); }