继承JDialog
把对象设置为model

解决方案 »

  1.   

    http://community.csdn.net/Expert/topic/3265/3265481.xml?temp=.9449274
    其实你需要的不是问问题,需要的是搜索问题!
      

  2.   

    大量的视频下载,关于java 学习的,好地方呀
    http://www.chinaxin.net//study/get.asp?get=928315
      

  3.   

    继承JDialog
    把对象设置为model
      

  4.   

    可不能继承JDialog怎么办啊
    现在是继承jframe
      

  5.   

    循环调用此句
    public void setState(JFrame.NORMAL);
      

  6.   

    int returnVal = JOptionPane.showConfirmDialog(this,"启用表头维护程序?","分界口",JOptionPane.CANCEL_OPTION);
    if(returnVal == JOptionPane.OK_OPTION){
    int littleTableId = ((Yd20Msb) thePassedObject[theDepth - 1]).getBTID();
    YD20Editor yd20Editor = new YD20Editor(this, true, littleTableId, con);
    yd20Editor.show();
    }
    returnVal存窗口的返回值,根据返回值进行下面的操作