<DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>Hi</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>I use two method in write Java-BON for create atom in my model but both method give error. </FONT><FONT face="Times New Roman" size=3>sample code is follow:</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" color=#0000ff size=3><STRONG>plaese help me for solving errors</STRONG></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><STRONG><FONT face="Times New Roman" color=#0000ff size=3>I attach my Model and MetaModel</FONT></STRONG></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" color=#0000ff size=3>best regards</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>s.karimi</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT
face="Times New Roman" size=3>1)</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>private JBuilder builder;</FONT></DIV><FONT face="Times New Roman" size=3> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>private JBuilderObject focus;</FONT></DIV></FONT> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>public void invokeEx(JBuilder builder, JBuilderObject focus,Collection selected,int </FONT></FONT><FONT size=3><FONT face="Times New Roman">param)</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>{</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>this.builder = builder;</FONT></FONT></DIV> <DIV
class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>this.focus = focus;</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>//--------------------------------------------------------------------------------</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>JBuilderFolder rootFolder = builder.getRootFolder();</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>JBuilderModel model=rootFolder.createNewModel("PIM");</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN>
</SPAN>model.createNewAtom("class");</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>}</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" color=#0000ff size=3><STRONG> <FONT color=#ff00ff>error</FONT>:attach file[1]</STRONG></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><STRONG><FONT face="Times New Roman" color=#0000ff size=3>*****************************************</FONT></STRONG></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>2)</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>private JBuilder builder;</FONT></DIV><FONT face="Times New Roman" size=3> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>private JBuilderObject focus;</FONT></DIV></FONT> <DIV
class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>public void invokeEx(JBuilder builder, JBuilderObject focus, ollection selected,int </FONT><FONT face="Times New Roman" size=3>param)</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN><SPAN> </SPAN>{</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>this.builder = builder;</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>this.focus = focus;</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>//--------------------------------------------------------------------------------</FONT></DIV> <DIV class=MsoNormal
style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>JBuilderFolder rootFolder = builder.getRootFolder();</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>JBuilderModel model = rootFolder.getRootModel("PIM");</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>model.createNewAtom("class");</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>}</FONT></FONT></DIV><FONT face="Times New Roman" size=3> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" color=#0000ff size=3><STRONG> <FONT color=#ff00ff>error</FONT>:attach
file[2]</STRONG></FONT></DIV></FONT><p> __________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com