interactionsPanel.add(commandValueLabel);
contentPane.add(interactionsPanel, BorderLayout.SOUTH);
// Attach the listeners
getterButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
functionTextField.setText((String)flashPlayer.invokeFlashFunctionWithResult("getMessageX"));
}
});
setterButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
flashPlayer.invokeFlashFunction("setMessageX", functionTextField.getText());