Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes icon for a class file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "icon for a class file" Watch "icon for a class file" New topic

icon for a class file

Rudy Yeung
Ranch Hand

Joined: Dec 27, 2000
Posts: 183
Anyone has an icon for a class file? If you have one can you send it to me. For mine which is running on Win ME, it uses the window media as the class file icon.
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Is this for use in some tool?

"JavaRanch, where the deer and the Certified play" - David O'Meara
Rudy Yeung
Ranch Hand

Joined: Dec 27, 2000
Posts: 183
No, it is not. It is just the icon representing the class file, like the MS-Word icon representing an MS-Word document.
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4340

Forte(an IDE) has an icon it uses for class files.

Visit my download page
Grant Crofton
Ranch Hand

Joined: Nov 08, 2000
Posts: 154
You could always draw one yourself.
In win32 you do it like this:
An icon is just a 24-bit .bmp with the extention changed to .ico, I think 32x32 pixels.
You change the icon for a file type by opening my computer->view->folder options->file types (select file type) ->advanced->change icon.
Rudy Yeung
Ranch Hand

Joined: Dec 27, 2000
Posts: 183
Thanks for your help.
I agree. Here's the link:
subject: icon for a class file
Similar Threads
Working with ImageIcon.
How to distinguish files in the package explorer of Eclipse
images in ejb-jar.xml
on mouse over
Changing desktop icon for Javaw shortcut