简体   繁体   English

如何在netbeans PLATFORM中创建“打开文件…”窗口?

[英]How to make “Open File…” window in netbeans PLATFORM?

I need to create something like internal frame in netbeans platform , which loads file from any location. 我需要在netbeans 平台中创建类似内部框架的东西,该框架可以从任何位置加载文件。 I tried it by jInternalFrame, but I was not able to find some container to which I can add my frame. 我通过jInternalFrame进行了尝试,但是无法找到可以向其中添加框架的容器。 I am working in netbeans platform , which has own pre-created main window. 我正在netbeans 平台中工作,该平台具有自己的预先创建的主窗口。

Pease help me by any advice, I am dealing with this about 10 hours, still without result. 请任何建议帮助我,我正在处理这大约10个小时,仍然没有结果。

使用WindowManager.getDefault().getMainWindow()作为JFileChooser对话框的父级。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM