/** * Setup this popup field linked to this remote table. */ public JComponent setupPopup(FieldList record, String strDesc, String strFieldName, String strComponentName, String strIndexValue) { BaseApplet applet = this.getBaseApplet(); RemoteTable remoteTable = null; try { RemoteTask server = (RemoteTask)applet.getRemoteTask(); synchronized (server) { // In case this is called from another task Map<String, Object> dbProperties = applet.getApplication().getProperties(); remoteTable = server.makeRemoteTable(record.getRemoteClassName(), null, null, dbProperties); } } catch (RemoteException ex) { ex.printStackTrace(); } catch (Exception ex) { ex.printStackTrace(); } RemoteSession remoteSession = remoteTable; boolean bCacheTable = true; return new JCellRemoteComboBox(applet, remoteSession, record, strDesc, strFieldName, strComponentName, bCacheTable, strIndexValue, null); } /**
if (propIn != null) properties.putAll(propIn); RemoteTable remoteTable = ((RemoteTask)m_remoteObject).makeRemoteTable(strRecordClassName, strTableSessionClassName, properties, propDatabase); String strTableID = this.add(new TableHolder(this, remoteTable)); this.setReturnString(out, strTableID);