通过jni可以调用本地方法
通过java idl可以调用基于corba的服务
微软的jvm可以使用com/dcom

解决方案 »

  1.   

    1、怎样调用其他的程序?答:
    import java.lang.*;try{
    Runtime rt=Runtime.getRuntime();
    rt.exec("NotePad");
    }
    catch(Exception e)
    {
    }2、关闭对话框。
    import javax.swing.*;JDialog jd=new JDialog();
    jd.setVisible(true);//这里显示
    jd.setVisible(false);//这里关闭,应该是隐藏
      

  2.   

    读是可以读的,不过要调用C的,《JAVA核心编程——卷二》里面有例子的
      

  3.   

    读注册表正是 JDK1.4 中 Preferences API 所要提供的功能from sun's doc:This new feature is a simple API for managing user preference and configuration data. Applications require preference and configuration data to adapt to different users, environments and needs. Applications need a way to store, retrieve, and modify this data. This need is met by the Preferences API. The Preferences API is intended to replace most common uses of class java.util.Properties, rectifying many of its deficiencies, while retaining its light weight.