How to photograph your finished java programming work

A finished Java project usually lives on a screen, which makes it an awkward subject: too much, too small, and full of glare. The fix is to decide what the picture should prove, capture exactly that, and crop away everything else. A clean screenshot beats a pretty photo of a monitor almost every time.

Decide what the image should prove

Pick one claim per picture: the app works, the code is organized, the diagram is readable, or the tests pass. Each claim needs a different frame. A screenshot of a running feature proves more than a wall of source code, and a test summary proves something specific only when the test names are legible.

Screenshot first, camera second

Use the built-in screenshot tool and capture the window rather than the whole desktop. Hide the taskbar and the dock, close chat windows, and switch to a light or dark theme deliberately so the screenshot does not clash with the page it will sit on. For code, raise the editor font to sixteen or eighteen pixels before capturing, or the text disappears once the image is scaled down on a phone.

If you photograph a screen, kill the glare

Phone photos of monitors collect windows, lamps and your own reflection. Turn off overhead lights, aim a lamp at the wall behind the screen instead of at the glass, and raise screen brightness. Shoot from slightly off-axis rather than straight on, brace the phone against something solid, and take three frames because the moiré pattern shifts with the angle.

Frame for the output, not the room

Crop to the window edges and leave even margins on all four sides. Keep a little context — the project name in the title bar, the terminal prompt, the status bar — so the image reads as real work rather than a cropped mockup. Straighten the crop if the camera was tilted; a two-degree slope is obvious inside a rectangle.

A short shot list keeps a session efficient: the app running with one item completed, a single class of thirty or forty lines with the font enlarged, a diagram cropped to the drawing, and the green test summary with names visible.

Redact before you share

Check for API keys, file paths containing your name, email addresses and database URLs. Cover them with a solid rectangle instead of a blur, since some blurs can be reversed. Look at the terminal history and the window title as well — they leak more than the main window does.

Good project photos are evidence, not decoration. Decide the claim, remove the noise, and capture the screen at a size where a stranger can read it on a phone. That is the whole method, and it works for code, output and whiteboard diagrams alike.