and changing the window location. Being in Swing allows one to use
JFrame and its 'Exit on close' to shut the window.
To set opacity, one creates a new color in RGB with an opacity rating (here, 50%).
The location settings move the called component. The default is centered
with respect to the window, and in this case, out JFrame is the only component
in action, so it doesn't move...
No comments:
Post a Comment