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 OS for the icon to display so it can match what the user would expect to see.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is some example here. The relevant code would be:
Edit (included comment) The official help page is here.