Question: why awt is platform dependent?
Answer: AWT was platform dependent, which means a program written in AWT behaves differently in different platforms. Hence it defeats WORA (Write Once, Run Anywhere) purpose which is the key Java philosophy. ... The AWT Native Interface is designed to give developers access to an AWT Canvas for direct drawing by native code.