MemImage is an in-memory Icon showing a Color Gradient.Main program, showing two ways to use it. Create a small MemImage & set it as this Frame's IconImage. Also display a larger version of the same Image in the Frame.
import java.awt.Component; import java.awt.Dimension; import java.awt.Frame; import java.awt.Graphics; import java.awt.Image; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.image... (login or register to view full code)
To view full code, you must Login or Register, its FREE.
Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.
Related Online Codes:
No comment yet. Be the first to post a comment.