Question: 8. in GUI1, we only import one package: import javax.swing.* But in Gu12a, we import three packages import java.awt.event.* import java awt.* import javax.swing.* Why?
8. in GUI1, we only import one package: import javax.swing.* But in Gu12a, we import three packages import java.awt.event.* import java awt.* import javax.swing.* Why? ecause we want to implement the ActionListener interface, we need to import java awt.event package Because we want to use a layout manager to arrange and maintain the arrangement of widgets on the screen, we need to import java.awt." B package C. Both A and B D. None of them
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
