Loading splash screen

Hello,

My school java team has a problem.
How can we add a splash screen while our program is still loading?
Any hints would be nice. Thank you!

Best regards,
Team2