如何在netbeans中添加图像文件? [英] How do I add an image file in netbeans?

查看:212
本文介绍了如何在netbeans中添加图像文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是netbeans的新手,我只想将本地计算机中的.png和.gif文件添加到我的项目中,但我找不到执行此操作的选项.我正在MacOSX上运行Netbeans 7.0.

I'm new to netbeans and I simply want to add a .png and a .gif file from my local computer into my project, and I cannot find an option to do this. I'm running Netbeans 7.0 on MacOSX.

当我右键单击目录并选择新建"->其他"时,在向导中找不到图像文件的选项. File-> New File转到同一向导.

When I right click on a directory and select New -> Other, I can't find an option for image files in the wizard. File -> New File goes to the same wizard.

推荐答案

这很简单:只需从源文件夹复制文件,然后将其粘贴到Netbeans项目树的所需文件夹中(在IDE中).

It's quite easy: Just copy the file from source folder and paste it into the desired folder of your Netbeans project tree (inside the IDE).

这篇关于如何在netbeans中添加图像文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆