Java Swing Screen
Java examples for Swing:Screen
HOME
Java
Swing
Screen
Description
Click the following links for the tutorial for Swing and Screen.
Centers an AWT window on the screen.
Use this static method if you want to center and set its position compared to the size of the current users screen size.
fit Component Inside Screen
fit Component Into Screen
fit Popup Menu Inside Screen
center Component On Screen
set Component Bounds To Center Screen
move Component To Screen Center
get Screen Size
is Location In Screen Bounds
This function handle the screenshot
Poses component inside the screen bounds
To make sure the rectangle is within the screen bounds.
Modifies the position of rect so that it is completely on screen if that is possible.
Ensures the rectangle is visible on the screen.
Gets the screen size.
Gets the local monitor's screen bounds.
Get screen area of all monitors.
Gets the screen bounds.
get Screens
To make sure the rectangle has overlap with the screen bounds.
Centers a window on screen.
center Window On Screen
is X On Screen
is Y On Screen
is Point On Screen
Verifies if the given point is visible on the screen.
Positions the specified frame in the middle of the screen.
Computes the maximum bounds of the current screen device.
Positions the specified frame at a relative position in the screen, where 50% is considered to be the center of the screen.
Positions the specified frame at a random location on the screen while ensuring that the entire frame is visible (provided that the frame is smaller than the screen).
add Window Listener
set Window Transparent
center And Size Window
Tries to find the current focused window.
get Position Within Window
get Window Ancestor
center Window Relative To Owner
create Wait Window
position Frame On Screen
get Screen Rectangle
move Rectangle To Fit The Screen
get Maximum Window Bounds
get Focused Window
get Location In Window
Center a big window
Places the Component at the center of the screen.
Checks whether the mouse event is a "print screen" event: Alt+Shift+Left-Click.
adjust Popup Location To Fit Screen
capture Screenshot Current Monitor
capture ScreenShot Each Monitor
Returns the size of the first screen size
Compute how much dialog can be put into the screen and returns a list with the coordinates from the dialog positions as Point objects.
Gets the Screensize and returns it as a Point object.
Gets the height from the current screen.
Gets the width from the current screen.
get Full Screen Shot
get Screen Shot
get Screen Insets
get Screen Working Height
get Screen Working Width
get Screen Height
get Screen Width
capture Screen
capture Screen To Clip Board
get Location On Current Screen
get Screen Dimension
Gets the screen bounds that contains the rect.
capture Snapshot from All Monitors