楼上的意思是另外开一个window吗,那具体用window要怎样去掉close按钮呢。如果不用window呢,用
showModalDialog就不行吗?可否详细一点。
showModalDialog就不行吗?可否详细一点。
解决方案 »
- 参数跟sql语句
- jsp 页面遍历List<Map<Long,List<Boxindaga>>> struts或者jstl 救命 搞死我了
- 获取cookie详细参数
- 强制转换问题
- 求助(js于java对象转化问题)
- 在UNIX下面,eWebEditor在线文本编辑器所上传的图片路径问题,请高手指点!
- hibernate的findByExample问题
- 祝贺[中国WEB开发者网络]开通,接分!
- 请指教高手
- jbuilder3.5新建jsp文件时,为何为灰色??
- jfreechart生成的PNG图片放入jsp中为何会站满整个页面,如何解决。
- TOMCAT的问题????怎么可以让左键单击可以直接下载
注意:最好给window设置owner。java.awt.Window
A Window object is a top-level window with no borders and no menubar. The default layout for a window is BorderLayout.
javax.swing.JWindow
A JWindow is a container that can be displayed anywhere on the user's desktop. It does not have the title bar, window-management buttons, or other trimmings associated with a JFrame, but it is still a "first-class citizen" of the user's desktop, and can exist anywhere on it. From the older java.awt.Window object you would normally do something like this:
window.add(child);
However, using JWindow you would code:
window.getContentPane().add(child);