icon « Development « Java I/O Q&A





1. How to display system icon for a file in SWT?    stackoverflow.com

I want to display a file tree similarly to java2s.com 'Create a lazy file tree', but include the actual system icons - especially for folders. SWT does not seem ...

2. Access file type icons Mac OSX    stackoverflow.com

I am trying to find a way to access the Mac OSX system icons. Does anyone know their default location on a Mac? Or know of a way using Java to ...

3. How can I get the icon to display for a file from a Java app?    stackoverflow.com

Is it possible from a Java desktop app to find the icon to display for a given file, perhaps based on it's mime type? Specifically I want to ask the host ...

4. Custom file type and icon    stackoverflow.com

I have a game I'm writing in java, it has the functionality to save games and load them all working with .txt files but I thought it would be cool if ...

5. intellij icon over project files    stackoverflow.com

intellij has placed what look like no entry signs over my java files (red circles with a line through) searched around but cannot find why? Would anyone know please. It's a maven ...

6. Get 48x48 icon size of any file, folder or drive in java    stackoverflow.com

How to get 48x48 icon size of any file, folder or drive in java?

7. File Explorer - Altering File/Folder associated icon programmatically    stackoverflow.com

Have you noticed modifications to the icons associated with files and folders when using file explorer in windows/linux while having a svn client installed (e.g., TortoiseSVN). Basically, when a folder is ...

8. Getting a file's icon in Java    stackoverflow.com

I'm making a basic file browser and wish to display the icon of each file. Is there any way to get this?

9. how would i add an icon to my save file?    stackoverflow.com

right now, i can save a file using JFileChooser, but how would i added an icon to the file that i saved?

fileChooser.addChoosableFileFilter(new CLVFilter()); 
 int returnValue = fileChooser.showSaveDialog(frame); 

 if(returnValue == ...





10. How to implement file icon overlay in java, the way, e.g., turtoisesvn or dropbox do    stackoverflow.com

I am looking for the best (fast and easy to implement, not necessary most robust) way to overlay file icons in Windows 7 Explorer from a prototype written in java. I ...

11. How to get Associated Icon Information of Registered File Types in JAVA    stackoverflow.com

I am working on a background service that needs to delete a file and create a shortcut for it ,in Java. I am creating a .url file type to display it ...

12. Java: How to change icon of file programtically?    stackoverflow.com

I have looked around the internet and am not able to find answer to this specific question. I would like to change icon of a file programtically using Java. It shouldn't ...

13. extracting icons from files/folders java    stackoverflow.com

I am trying to extract icons images from specific files or directory using Java. I have looked around the internet but haven't found a reasonable answer to this question. Are there ...

14. Icon through the ObjectputStream    coderanch.com

16. add a icon to the file    coderanch.com





17. How to do the File Explore Icon?    coderanch.com

How to do the File Explore Icon? If you are window user, you simply open My Document folder. Is there possible to make My Document interface? Can anyone expert give some hints or guide or key word how can I draw the Icon that appear at right handside below? I try to do a Virtual File System, that user cannot see ...

18. setup file Icon    coderanch.com

19. how would i add icon to my save file?    java-forums.org

20. Icon for file    forums.oracle.com

What I need is, I install my software in a system. On double clicking, the software should start to execute. The double click file can be a jar file or a batch file. Now to this jarfile /batch file how can I set my icon unique to my software. Thanx in advance.

22. I want to drag and drop a file to a JText area with its file icon    forums.oracle.com

I want to drag and drop a file to a JText area with its file icon , but the problem is I cant show the file icon. Anyone knows this. this is my code. import java.awt.*; import java.awt.image.BufferedImage; import java.awt.datatransfer.DataFlavor; import java.awt.datatransfer.Transferable; import java.awt.dnd.DnDConstants; import java.awt.dnd.DropTarget; import java.awt.dnd.DropTargetDragEvent; import java.awt.dnd.DropTargetDropEvent; import java.awt.dnd.DropTargetEvent; import java.awt.dnd.DropTargetListener; import java.io.File; import javax.swing.*; import javax.swing.filechooser.FileSystemView; public ...

23. How to drag and drop a file with its Systemfile icon to a Jtext area    forums.oracle.com

try { Transferable tr = dtde.getTransferable(); DataFlavor[] flavors = tr.getTransferDataFlavors(); for (int i = 0; i < flavors.length; i++) { System.out.println("Possible flavor: " + flavors.getMimeType()); if (flavors.isFlavorJavaFileListType()) { dtde.acceptDrop(DnDConstants.ACTION_COPY); ta.setText("Successful file list drop.\n\n"); java.util.List list = (java.util.List) tr.getTransferData(flavors); for (int j = 0; j < list.size(); j++) { System.out.println(list.get(j)); file = (File) list.get(j); icon = view.getSystemIcon(file);

25. File Icon    forums.oracle.com

26. How to do the File Explore Icon?    forums.oracle.com

How to do the File Explore Icon? If you are window user, you simply open My Document folder. Is there possible to make My Document interface? Can anyone expert give some hints or guide or key word how can I draw the Icon that appear at right handside below? I try to do a Virtual File System, that user cannot see ...

27. How to do the File Explore Icon?    forums.oracle.com

How to do the File Explore Icon? If you are window user, you simply open My Document folder. Is there possible to make My Document interface? Can anyone expert give some hints or guide or key word how can I draw the Icon that appear at right handside below? I try to do a Virtual File System, that user cannot see ...

28. sample code +file type icon    forums.oracle.com

29. How to get File type icon for files store on Amazons3    forums.oracle.com

Hi, i want to know about how to get file type icons for files that we store on Amazons3.i am a devloper ,i want to make gui for accessing amazons3. so ,i want to know about how to get file type icons for files that we store on Amazons3. thanx in advance.

30. How do you make a File() have a Icon???    forums.oracle.com

Ok Got it... So what i want to do is create a directory like this: File folder = new File("/RonX"); folder.mkdir(); Then make a Image Icon and some how place the Image Icon over the native Folder Icon, so when you go and find the folder "/RonX" You will see your icon over the folder. I just don't know how to ...

31. Java - Reading an Icon file into program    forums.oracle.com

Hi, I am in the process of developing a menu (in Java) and am at an impasse: I need to grab an icon file (e.g. a folder icon or Eclipse icon) and pull it into my code to store within custom class Icon, so that the icon picture appears in the specified location and contains all the necessary events. Would anyone ...