Java Swing Screen

Java examples for Swing:Screen

Description

Click the following links for the tutorial for Swing and Screen.

  1. Centers an AWT window on the screen.
  2. Use this static method if you want to center and set its position compared to the size of the current users screen size.
  3. fit Component Inside Screen
  4. fit Component Into Screen
  5. fit Popup Menu Inside Screen
  6. center Component On Screen
  7. set Component Bounds To Center Screen
  8. move Component To Screen Center


  9. get Screen Size
  10. is Location In Screen Bounds
  11. This function handle the screenshot
  12. Poses component inside the screen bounds
  13. To make sure the rectangle is within the screen bounds.
  14. Modifies the position of rect so that it is completely on screen if that is possible.
  15. Ensures the rectangle is visible on the screen.
  16. Gets the screen size.


  17. Gets the local monitor's screen bounds.
  18. Get screen area of all monitors.
  19. Gets the screen bounds.
  20. get Screens
  21. To make sure the rectangle has overlap with the screen bounds.
  22. Centers a window on screen.
  23. center Window On Screen
  24. is X On Screen
  25. is Y On Screen
  26. is Point On Screen
  27. Verifies if the given point is visible on the screen.
  28. Positions the specified frame in the middle of the screen.
  29. Computes the maximum bounds of the current screen device.
  30. Positions the specified frame at a relative position in the screen, where 50% is considered to be the center of the screen.
  31. 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).
  32. add Window Listener
  33. set Window Transparent
  34. center And Size Window
  35. Tries to find the current focused window.
  36. get Position Within Window
  37. get Window Ancestor
  38. center Window Relative To Owner
  39. create Wait Window
  40. position Frame On Screen
  41. get Screen Rectangle
  42. move Rectangle To Fit The Screen
  43. get Maximum Window Bounds
  44. get Focused Window
  45. get Location In Window
  46. Center a big window
  47. Places the Component at the center of the screen.
  48. Checks whether the mouse event is a "print screen" event: Alt+Shift+Left-Click.
  49. adjust Popup Location To Fit Screen
  50. capture Screenshot Current Monitor
  51. capture ScreenShot Each Monitor
  52. Returns the size of the first screen size
  53. Compute how much dialog can be put into the screen and returns a list with the coordinates from the dialog positions as Point objects.
  54. Gets the Screensize and returns it as a Point object.
  55. Gets the height from the current screen.
  56. Gets the width from the current screen.
  57. get Full Screen Shot
  58. get Screen Shot
  59. get Screen Insets
  60. get Screen Working Height
  61. get Screen Working Width
  62. get Screen Height
  63. get Screen Width
  64. capture Screen
  65. capture Screen To Clip Board
  66. get Location On Current Screen
  67. get Screen Dimension
  68. Gets the screen bounds that contains the rect.
  69. capture Snapshot from All Monitors