Calling java method in C#

74 views
Skip to first unread message

Cam Hoang Truc

unread,
Feb 28, 2012, 2:49:42 AM2/28/12
to jni4net
I got the jTextField1 from the NewJFrame.java of JavaApplication1.jar.
Then I passed this jTextField1 to the java method named "MyMethod" of
the NewJFrame.java .
I got an exception "javax.swing.JTextField.addKeyListener(Ljava/awt/
event/KeyListener;)V".

These are my projects
C# : http://www.mediafire.com/?3hhgh17i9yn035g
Java : http://www.mediafire.com/?4fpy8mck454tp1m

Someone please tell me what happened ?



Reply all
Reply to author
Forward
0 new messages