Hello,
How to change the folder from Javafx application located in the "/dist" folder
I created a javafx application, but I don't want the look of the application on my computer to be a photo from a Java server?
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
Hello,
How to change the folder from Javafx application located in the "/dist" folder
I created a javafx application, but I don't want the look of the application on my computer to be a photo from a Java server?
I don't understand the problem.
Is this a problem with the program loading an imageicon from the wrong folder when it executes?
Or is it a problem with the icon that is given to a shortcut that starts the program?
Or what?
If you don't understand my answer, don't ignore it, ask a question.
here in the picture everything is explained: https://ibb.co/TkqzgXp
Is that the icon the OS gives to the shortcut to your app?
If you don't understand my answer, don't ignore it, ask a question.
yes, that white icon is, but that other icon is an icon I would like to set up but I don't know how
On windows, Right-click on the shortcut and select Properties. On the Shortcut tab, there is a button near the bottom to Change Icon
If you don't understand my answer, don't ignore it, ask a question.
there is nowhere to Change Icon or anything like that, I've reviewed everything but it doesn't exist
Are you using a Windows OS?
Are you asking about the icon for a Shortcut?
If you don't understand my answer, don't ignore it, ask a question.
yes, I'm using Windows 10, but I don't have the "Customize" option in the property, and that changes the image of the folder
What kind of file are you trying to change the icon for?
If you don't understand my answer, don't ignore it, ask a question.
for the icon from the JavaFX application located in the "/ dist" folder, that is if I'm not mistaken .jar file
The icon for many files is for the command/program that is used to open the file. For example for .txt files the icon will be for some text editor. All .txt files will have the same icon.
For .jar files the icon is for the java.exe program.
I don't know it you can change the icon for an individual .jar file because the icon is for the java.exe program.
If you create a shortcut to execute the jar file, the icon for the shortcut can be changed as I explained above.
If you don't understand my answer, don't ignore it, ask a question.
almir97 (March 6th, 2021)
I understood, thank you very much, you helped me