Question: what is the difference between applet and swing and gui application in java?
Answer: Applets will be downloaded at the client web browser and executed locally where as swing has a set of APIs for developing GUI components and can act as stand alone applications. Short answer: Applets are intended to be small bits of functionality run in a web browser and downloaded on-demand.