hello everyone,

I just like to check with you guys that if i want to writ a simple java program using only the awt package do i have to include the
java.swing.* file header as well

Someone let me know about this,

Thank You

Richard West

no, if you wanna use the awt components then you have to import the awt only ... not swing

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.