1

I'm creating a Java bean component and then generate it to ActiveX dll like in this tutorial

It is a Swing panel

public class AACWCSurvey extends javax.swing.JPanel

with couple JButtons

but when I test it in tstcon32.exe I can't actually press any button (JButton). It's like a picture.

What's wrong?

Thank you

upd: tried with AWT (java.awt.Panel, java.awt.Button) - same story. You see it, but you can't press the buttons

enter image description here

4

1 回答 1

0

也许尝试一个名为 iKVM 的项目。它允许您使用 Java 中的 .net 框架。

因此,您会发现必须在 C# 中执行此操作,并且只需在 iKVM 下运行的 Java 中执行相同的操作。

来吧它足够好给我50分:)

认真祝你好运。我现在正在学习 C#,它实际上非常好。

于 2011-10-10T05:08:49.900 回答