swing - Java Form file - MenuItem Separator -
i inherited code used netbeans , created .form files .java files. however, we're using eclipse. i've updated .java files (to add menu) not sure code form file. want keep date though i'm not using netbeans. question is: what form code add separator jmenu menuitem?
in java, have:
menu.addseparator();
my form file looks like:
<menuitem class="javax.swing.jmenuitem" name="helpmenu"> <properties> <property name="text" type="java.lang.string" value="help"/> </properties> <events> <eventhandler event="actionperformed" listener="java.awt.event.actionlistener" parameters="java.awt.event.actionevent" handler="helpmenuactionperformed"/> </events> </menuitem>
Comments
Post a Comment