回答第二个
用JDIALOG,设置它的模态为真 dialog.setModal(true)

解决方案 »

  1.   

    1:http://expert.csdn.net/Expert/topic/1195/1195405.xml?temp=.6982843
    2:应该打开一个模式对话框吧?
    3:public interface CallableStatement
    extends PreparedStatement
    The interface used to execute SQL stored procedures. JDBC provides a stored procedure SQL escape syntax that allows stored procedures to be called in a standard way for all RDBMSs. This escape syntax has one form that includes a result parameter and one that does not. If used, the result parameter must be registered as an OUT parameter. The other parameters can be used for input, output or both. Parameters are referred to sequentially, by number, with the first parameter being 1. 
       {?= call <procedure-name>[<arg1>,<arg2>, ...]}
       {call <procedure-name>[<arg1>,<arg2>, ...]}
     
    IN parameter values are set using the set methods inherited from PreparedStatement. The type of all OUT parameters must be registered prior to executing the stored procedure; their values are retrieved after execution via the get methods provided here. A CallableStatement can return one ResultSet or multiple ResultSet objects. Multiple ResultSet objects are handled using operations inherited from Statement. For maximum portability, a call's ResultSet objects and update counts should be processed prior to getting the values of output parameters. Methods that are new in the JDBC 2.0 API are ed "Since 1.2." 
      

  2.   

    1. 如果你装了 JRE 那么双击 JAR 文件运行它
      

  3.   

    楼上的JRE是??第二个问题,netwebs(netwebs),我想新打开一个JFrame呢,怎么办?我以为应该有个setXxxx的方法呢?
      

  4.   

    JFrame没试过,为什么不用JDialog呢,用内部窗体也不错啊
      

  5.   

    JDialog内可以添加Jpanel,JButton等控件吗?
      

  6.   

    第一个问题要修改一下manifest文件,先解压缩,就可以看到那个文件,用文本编辑器可以打开。加入Main-Class: *****的条目。第二个应该不用JDialog也可以吧。不过可能你需要看看JFrame的方法(API doc),又没有设置那种属性的?至于什么弹出的,都可以实现。
      

  7.   

    你要真给分呀:)1。运行方法 java -cp face.jar;. a.b.c.Face
    这里假设包是a.b.c,主类是Face
    java -jar face.jar出错原因:
    要这样运行程序,必须在face.jar的META-INF里的mldksl(我忘了文件名:()就一个文件的,加一句Main-class:a.b.c.Face。具体你可以看jdk的 demo有这样的jar 文件。
    2。分给 netwebs(netwebs好了
    3。用JAVA和SQL Server通信你要用JDBC,主要是java.sql.*  and javax.sql.*
    关于JDBC的基础知识你自己看书我要分^-^
      

  8.   

    很丑的,没人要的.Iforgot(清风雨)的星星那么多,给点建设性意见啊!
      

  9.   

    不好意思啊,只能帮你up一下。
    查一下PreparedStatement类、Statement类的文档;
    Connect con=DriverManager.getConnection(url,"uerID","pwd");
    //你肯定明白参数的意思:)
    Statement stmt=con.createStatement();
    stmt.executeUpdate("update sql");
    PreparedStatement pst=con.PreparedStatement("update table set m=? where x=?");
    pst.setLont(1,101010101);//m
    pst.setLong(2,10248302830);//x
    //setXXX,setNULL(NULL专用),setObject;我没开发所以具体的问题也不是很清楚的,你还是查文档比较清楚些(sun下JDK文档啊)。:)我现在可是不敢安慰你的啦,要不然,那天又恨我了。:)逗你玩的。:)
      

  10.   

    java.sql啊,明显是sql吗,一般java的都可以看他是哪方面的然后猜得出来的。:)