void function ( String arg0 , String arg1 , int arg2 , String arg3 , String arg4 ) { SVAbstractMenuItem loc0 = items . get ( arg0 ) ; SVMenuItem loc1 = new SVMenuItem ( arg2 , arg1 , arg3 , arg4 ) ; loc1 . mi . addActionListener ( this ) ; items . put ( arg1 , loc1 ) ; if ( loc0 == null ) { root . add ( loc1 . mi ) ; } else { loc0 . add ( loc1 ) ; } }
add a new entry to the menubar . in this case , we also know its value and possibly even have a description . for these items , the server will not poll the client to ask what to do , but just show an input dialog and send a message with the new value . concode_field_sep SVWindow svWindow concode_elem_sep JPopupMenu root concode_elem_sep HashMap<String,SVAbstractMenuItem> items concode_field_sep void actionPerformed concode_elem_sep void show