Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2008

Tip: Looking for answers? Try searching our database.

Netbeans

Thread view: 
Ouabaine - 29 Jan 2008 07:18 GMT
Hello,

I would like under Netbeans, to add a picture in the project, either in an
Image package, or at the root of the project sources. But I cant find how to
do this! I can create a folder or a package, then I find no menu option to
insert the PNG file, and drag&drop does not work.

Does anyone know how to do this?

Thanks, Francois
Sabine Dinis Blochberger - 29 Jan 2008 10:13 GMT
> Hello,
>
[quoted text clipped - 6 lines]
>
> Thanks, Francois

Use your command prompt or file browser to copy a file to the desired
location.

Signature

Sabine Dinis Blochberger

Op3racional
www.op3racional.eu

Mark Space - 29 Jan 2008 19:37 GMT
> Hello,
>
[quoted text clipped - 4 lines]
>
> Does anyone know how to do this?

Right click on the Source Packages node, choose New->Other.

In the wizard, scroll down the tree on the left, choose the Other node,
then in the box on the right, scroll down to find "Empty File." Name it
whatever you like (get the extension correct).  This will add a file to
the root of the project.  You can now edit the file normally (ie., fire
up Gimp and edit your PNG file, or replace it with the image you want).

To add a file to a package, do the same, but right click on the package
node instead of the Source Packages node.

As Sabine mentioned, you can also just dump files directly in your
source package directories.  After you use the method I gave above a few
times and you see where the files actually go, you'll get a much clearer
picture how to do that.  It's easier than going through the NetBeans
menus for most things.

Remember that you can switch to the File view of your project if you
aren't sure about the path of any given file.  You can also right click
on a PNG file, choose Properties, and the path will be listed there,
without having to switch views.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.