This question already has an answer here:
- Make splash screen with progress bar like Eclipse 2 answers
I've created a splash screen class which basically loads and runs a GIF title file for a couple of seconds. How would I get this to display prior to the main class?
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
accountGUI inst = new accountGUI();
inst.setLocationRelativeTo(null);
inst.setVisible(true);
}
});
}
public accountGUI() {...