endpoint = new JLabeledChoice("Endpoint", Stream.of(HonoSampler.Endpoint.values()).map(HonoSampler.Endpoint::name).toArray(String[]::new)); endpoint.setToolTipText("<html>The name of the endpoint to send the AMQP message to.</html>"); useSenderTime = new JCheckBox("Use sender time"); senderTimeInProperty = new JRadioButton("Sender time in property");
endpoint = new JLabeledChoice("Endpoint", Stream.of(HonoSampler.Endpoint.values()).map(HonoSampler.Endpoint::name).toArray(String[]::new)); endpoint.setToolTipText("<html>The name of the endpoint to send the AMQP message to.</html>"); deviceId = new JLabeledTextField("Device ID"); deviceId.setToolTipText("<html>The device identifier to put into the <em>device_id</em> application property of the AMQP message to send.</html>");