You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jni...@googlegroups.com
Hi Everyone, In my C# project, I got the jTextField1 object in the NewJFrame.java of JavaApplication1.jar. Then I passed this jTextField1 to the Java method named "MyMethod" as a parameter. But the code addKeyListener in "MyMethod" caused an exception "javax.swing.JTextField.addKeyListener(Ljava/awt/event/KeyListener;)V" when I tried to invoke "MyMethod" in C#.
These are my projects: C#: www.mediafire.com/?3hhgh17i9yn035g Java: http://www.mediafire.com/?4fpy8mck454tp1m
By the way, tell me how to use a dll file in java application like the way I did in my C# project.
Please help me. Thanks in advance.
Pavel Šavara
unread,
Feb 28, 2012, 5:16:32 PM2/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message