this.vorbaID = vorbaID;\r
this.position = position;\r
\r
- message = "MOUSEOVER_"\r
- + "vorbaID=" + vorbaID + "_" + "position=" + position;\r
+ message = "MOUSEOVER\t"\r
+ + "vorbaID=" + vorbaID + "\t" + "position=" + position;\r
}\r
\r
/**\r
MouseOverMessage(String str)\r
throws Exception\r
{\r
- String[] elements = str.split("_");\r
+ message = str;\r
+ \r
+ String[] elements = str.split("\t");\r
\r
for (int i = 0; i < elements.length; i++)\r
{\r
{\r
try\r
{\r
- if (str.startsWith("CUSTOM_"))\r
- return new CustomMessage(str.substring(7));\r
+ if (str.startsWith("CUSTOM"))\r
+ return new CustomMessage(str.substring(6));\r
\r
- if (str.startsWith("MOUSEOVER_"))\r
+ if (str.startsWith("MOUSEOVER"))\r
return new MouseOverMessage(str);\r
}\r
catch (Exception e)\r