Images
An ImageIcon, stored as a JPG or GIF fi le, can be attached to a button or label, which, in turn, can be added to a frame or panel.
a. Consult Sun’s documentation and confi rm that an ImageIcon may not be added directly to a frame or panel. Describe in your own words what you have discovered.
b. How might you display an image in a panel or frame without using an intermediate button or label?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here