menuItem = new ZapMenuItem("websocket.manual_send.menu");
menuItem.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
Message message = getMessage();
if (message == null) {
setDefaultMessage();
} else if (message instanceof WebSocketMessageDTO && ((WebSocketMessageDTO)message).opcode == null) {
setDefaultMessage();
}