I just created a small project in IntelliJ. I created one class in the src package (FileFilter) but i can not run the method in this class by the run button, becaus it's simply not there. Only the build button is shown.
So I created another class (Main), containing the main method and an empty void method. The class and the main method can be run, but the default method has the same issue I have with my FileFilter class. Also, i can not run one of the methods within the main file.
As you can see, the icon on the left of my FileFilter class doesn't have the green run symbol on it. I asked ChatGPT for help, but rebuilding the project wasn't a helpful solution. Any tips are appreciated. Thank you (and sorry for my English haha, I'm from Germany)