To Capture Web Pop-Up Java Code...

Click on "View" from toolbar in your web browser.
Select "Source" a notepad should open with source code...

You may Copy and Paste source code as needed.