Download Help

Printable Version

How do I take a screenshot in Windows or Mac?

This article applies to:
  • Platform(s): Vista, Windows XP, Windows 8, Windows 7, Mac OS X

Instructions to take screen shot of an error on Windows

  1. Click on the error window.
  2. To take a screenshot of the entire screen, press the Print Screen (it could also be labeled as PrtScn or PrtScrn) button on your keyboard. It can be found near the top, to the right of all the F keys (F1, F2, etc) and often in line with the arrow keys.
  3. To take a screenshot of just the program that is active, press and hold the Alt button (found on either side of the space bar), then press the Print Screen button.
  4. To view this screenshot further or save as an image, you can use Microsoft Paint (Paint) or any other graphics program. We recommend using the Paint program.
  5. To open Paint Program on your system - Go to Start -> All Programs -> Accessories->Paint

  6. When you are in Paint at a blank page click on Edit and then click on Paste and your screen shot will appear on the blank page.

  7. To save, just go through the usual steps for saving a picture or graphics item (for example, click File, then Save As or Save.)

  8. Choose the desired location (drive/folder) to save the file. Default location is Desktop. Write the desired name in the File Name. You can also select the desired image type by clicking on Save as type option from the drop-down menu. For example here we are saving file 'screenshot01' as type .PNG (recommended).

Note: You can attach and send this file as an attachment to an email.

How to take a screenshot on Mac OS X

Take a screen shot of the whole screen
  1. On the keyboard press Command-Shift-3
  2. The screen shot is taken, and it is saved as a file on the Desktop.

Take a screen shot of part of the screen
  1. On keyboard press Command-Shift-4, then drag the cross-hair pointer to select the area to capture.
  2. Continue to press the mouse button, release the keys.
  3. When you are ready to take a screen shot, release the mouse button.
  4. The screen shot is taken and it is saved as a file on the Desktop.

Select Language | About Java | Support | Developers | Feedback
Privacy  | Terms of Use | Trademarks | Disclaimer