Difference between swing and awt control | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Difference between swing and awt control

11th Mar 2017, 3:46 AM
Bhumiben Solanki
3 Answers
0
swing is built off awt, and the one to use in that choice, all needed function from awt is included in swing with MUCH more functionality
11th Mar 2017, 3:51 AM
William La Flamme
William La Flamme - avatar
0
like applet and japplet difference
11th Mar 2017, 4:21 AM
Bhumiben Solanki
0
well thats an example, applet=awt, japplet=swing most components its the same context, panel/jpanel frame/jframe etc. if it has a swing option in the components go with that version, and don't mix back and forth, swing is only 'mostly' compatible with awt, not fully, and for japplet, jframe, jwindow, all the heavy weights are the most touchy so def don't mix those up with the awt non-j types
11th Mar 2017, 7:36 AM
William La Flamme
William La Flamme - avatar