r/JavaFX • • Aug 06 '26

Help Main Class isnt appearing

I have made a new javafx project but it has no main class. instead of the main class its showing this java file. whats did i do wrong?

5 Upvotes

7 comments sorted by

View all comments

Show parent comment

3

u/smbarbour Aug 06 '26

The name of your main class is irrelevant. It doesn't have to be Main.java to be an entrypoint.