Search code examples
javawindowsnetbeanstaskbar

Pin a Java program created with Netbeans on taskbar?


Good evening!

I want to create a program in NetBeans which I can pin to my taskbar without detours. I just want to pull the program in my taskbar, but if I just build the project it isn't possible. Can someone tell me, what I have to add to my code or what do I have to click in NetBeans to be able to do this?

Thanks!


Solution

  • If you want to run your code without using IDE, you can use the command prompt to do this, or you can make an .exe file of your code, so you can run it as a windows application (with the double-click). Here is the name of some programs that convert java file to .exe file:

    JSmooth - JarToExe - Executor - Advanced Installer - Launch4j - Install4j Hope this help.