您是用java做win32程序吗?偶觉得好象java只有application的概念,且运行在JVM上,与win平台无关的呦。jpad++能做win32 的吗?那他就不是纯java了,hehe.大家怎么认为呢?

解决方案 »

  1.   

    那是我搞错了,呵呵,我说了我是菜鸟么!
    look,这是我得程序:
    import com.ms.wfc.app.*;
    import com.ms.wfc.core.*;
    import com.ms.wfc.ui.*;public class Form11 extends Form
    {
                    Edit edit1 = new Edit();
                    Label label1 = new Label();                public Form11()
                    { initForm(); }
                    private void initForm()
                    {
                          edit1.setBackColor(Color.BLUE);
                          edit1.setFont(new Font("MS Serif", 11.0f, FontSize.CHARACTERHEIGHT, FontWeight.SEMIBOLD, false, false, false));
                          edit1.setForeColor(Color.RED);
                          edit1.setLocation(new Point(64, 16));
                          edit1.setSize(new Point(100, 40));
                          edit1.setTabIndex(0);
                          edit1.setText("This is the editbox");
                          edit1.setAcceptsTab(true);
                          edit1.setMultiline(true);
                          edit1.setScrollBars(ScrollBars.VERTICAL);                      label1.setLocation(new Point(100, 100));
                          label1.setSize(new Point(120, 16));
                          label1.setTabIndex(1);
                          label1.setTabStop(false);
                          label1.setText("This is the label");                      this.setNewControls(new Control[] {edit1,label1});
                }            public static void main(String args[])
                { Application.run(new Form11()); }
    }
    那么这个问题帮我解决吧,^_^!