Netbeans JavaFx Cant select Main class
问题 When I try to run my code in NetBeans I get a empty window saying "Browse JavaFX Application classes" but there are none to select. How can I solve this? Im trying to create a card game. This is the start to the main method. import cardutils.Deck; public class Main { public static void main(String[] args) { Deck deck = new Deck(); System.out.println(deck.toString()); } } 回答1: If you want to make a JavaFX application, you need to create a class which extends the Application class of JavaFX and