There are any number of ways you might do it. One of them is to do it the same way POXDesk does it -- using the POX messenger component. See the documentation in the POX wiki manual as well as the docstrings in the messenger sourcecode for more details.
Good luck! -- Murphy On Jun 17, 2014, at 5:22 PM, 靳明双 <13120...@bjtu.edu.cn> wrote: > Dear all, > I want to develop a java based GUI which have buttons to choose two > different modes to handle packet-in messages. For example, if the parameter > is true, then raise event1 and handled by handler1; if the parameter is > false, then raise event2, and handled by handler2. > My problem is , how can I pass the parameter from the GUI to POX? > > Any help will be highly appreicated. > > Best regards, > Jin Mingshuang