i am begginer in java. i need to know that
is it necessary to use applets or componetnts or frames to download image from the specified url in java programming. can't we use simple java program to download images.

why would you have to use Swing? you can just take a URL as a command line argument, or as a prompt from within your program, you don't need a GUI.