<div>Dear.<STRONG><EM>Magda</EM></STRONG></div>  <div><STRONG><EM>I have this problem and I try for solving this error but I can't....</EM></STRONG></div>  <div><STRONG><EM>what is your opinion?</EM></STRONG></div>  <div><STRONG><EM>I think, using from vc++ for this subject</EM></STRONG></div>  <div><STRONG><EM></EM></STRONG><BR><BR><B><I>Magda Fayan &lt;mfayan@gmail.com&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <DIV>Hello,</DIV>  <DIV>&nbsp;</DIV>  <DIV>I&nbsp;have tried to use&nbsp;these methods, however&nbsp;it always gives me the same message: Invalid Number of Parameters. </DIV>  <DIV>&nbsp;&nbsp;</DIV>  <DIV>The code below shows&nbsp;you what I am trying to do. The parameter "Atom" is the element kind. </DIV>  <DIV><BR>&nbsp;</DIV>  <DIV>&nbsp;<EM>public void invokeEx(JBuilder builder, JBuilderObject focus, Collection selected, int intParam) {</EM></DIV>  <DIV><EM></EM>&nbsp;</DIV> 
 <DIV><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JBuilderModel mdl=(JBuilderModel)focus;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JBuilderAtom a=mdl.createNewAtom("Atom");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;javax.swing.JOptionPane.showMessageDialog(null,"Created a="+a);</EM></DIV>  <DIV><EM></EM>&nbsp;</DIV>  <DIV><EM>}</EM></DIV>  <DIV><EM></EM>&nbsp;</DIV>  <DIV>Can anyone please help me to find out what am I doing wrong?</DIV>  <DIV>The error message is attached below.</DIV>  <DIV>&nbsp;</DIV>  <DIV>Thanks in advance,</DIV>  <DIV>&nbsp;</DIV>  <DIV>Magda</DIV>  <DIV>&nbsp;</DIV>  <DIV><SPAN class=gmail_quote>On 12/12/06, <B class=gmail_sendername>Zoltan Molnar</B> &lt;<A onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:zolmol@isis.vanderbilt.edu" target=_blank>zolmol@isis.vanderbilt.edu </A>&gt; wrote:</SPAN>   <BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc
 1px solid">  <DIV>  <DIV><SPAN><FONT face=Arial color=#0000ff size=2>Hi,</FONT></SPAN></DIV>  <DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>  <DIV><SPAN><FONT face=Arial color=#0000ff size=2>You have to use the:</FONT></SPAN></DIV>  <DIV><SPAN></SPAN><SPAN><FONT face=Arial color=#0000ff size=2><FONT color=#ff0000>public JBuilderModel createNewModel(String partName)</FONT></FONT></SPAN></DIV>  <DIV><SPAN><FONT face=Arial color=#0000ff size=2><FONT color=#ff0000>public JBuilderAtom createNewAtom(String partName)</FONT></FONT></SPAN></DIV>  <DIV><SPAN><FONT face=Arial color=#ff0000 size=2>public JBuilderModelReference createNewModelReference(String refPartName, JBuilderObject refTo)</FONT></SPAN></DIV>  <DIV><SPAN><FONT face=Arial color=#ff0000 size=2>public JBuilderConnection createNewConnection(String connName, JBuilderObject source, JBuilderObject destination)</FONT></SPAN></DIV>  <DIV><SPAN><FONT face=Arial color=#ff0000
 size=2></FONT></SPAN>&nbsp;</DIV>  <DIV><SPAN><FONT face=Arial color=#0000ff size=2>&nbsp;methods of JBuilderModel&nbsp; found in JBuilderModel.java.</FONT></SPAN></DIV>  <DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>  <DIV><SPAN><FONT face=Arial color=#0000ff size=2>Zoli</FONT></SPAN></DIV>  <DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>  <DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>  <BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">  <DIV></DIV>  <DIV lang=en-us dir=ltr align=left><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> <A onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:gme-users-bounces@list.isis.vanderbilt.edu" target=_blank>gme-users-bounces@list.isis.vanderbilt.edu</A> [mailto:<A onclick="return top.js.OpenExtLink(window,event,this)"
 href="mailto:gme-users-bounces@list.isis.vanderbilt.edu" target=_blank>gme-users-bounces@list.isis.vanderbilt.edu </A>] <B>On Behalf Of </B>seyamak karimi<BR><B>Sent:</B> Sunday, December 10, 2006 9:27 AM<BR><B>To:</B> gme-users<BR><B>Subject:</B> [gme-users] help<BR><BR></FONT></DIV>  <DIV>Dear GME users </DIV>  <DIV>Hi All </DIV>  <DIV>Please help me about write BON for adding atom to model without drag and drop atom from partbrowser of GME. </DIV>  <DIV><FONT color=#ff0000><STRONG>Note</STRONG></FONT>: I designed my metamodel and I can create my model using GUI of the GME and drag and drop atom from partbrowser but I want design my model with BON(to prefer java interface) and without drag and drop atom from partbrowser of GME and I try writing a BON(java interface) for this context but I can't successful. </DIV>  <DIV>please see my attach file </DIV><B>  <DIV><FONT color=#0000ff>Please help me and send sample code</FONT></DIV></B><FONT
 color=#0000ff></FONT></BLOCKQUOTE></DIV>  <DIV>Best regards </DIV>  <DIV>s.karimi </DIV>  <div>  <HR SIZE=1>  Cheap Talk? <A onclick="return top.js.OpenExtLink(window,event,this)" href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com" target=_blank>Check out</A> Yahoo! Messenger's low PC-to-Phone call rates.   <div></div><BR>_______________________________________________<BR>gme-users mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:gme-users@list.isis.vanderbilt.edu" target=_blank>gme-users@list.isis.vanderbilt.edu </A><BR><A onclick="return top.js.OpenExtLink(window,event,this)" href="http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users" target=_blank>http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users</A><BR><BR><BR>  <div></div>  <div></div>  <div></div>  <div></div>  <div></div></BLOCKQUOTE></DIV><BR>_______________________________________________<BR>gme-users
 mailing list<BR>gme-users@list.isis.vanderbilt.edu<BR>http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users<BR></BLOCKQUOTE><BR><p>&#32;
<hr size=1>Cheap Talk? <a href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Check out</a> Yahoo! Messenger's low PC-to-Phone call rates.