Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6382147

Applet Screenshots feature

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 5.0
    • tools

      A DESCRIPTION OF THE REQUEST :
      I think it would be great if Java applets would give you a BMP/PNG screenshot if you clicked and dragged out of the applet to your desktop as an optional feature for java developers, or perhaps it could be done with an appropriate cross-platform keyboard+mouse combination.

      I realize the addition of it as a standard, non-optional feature would be quite edgy, but the functionality would be great. I think creating "little bridges" out of the sandbox so that Java becomes more media-savvy and useful.

      JUSTIFICATION :
      Currently, on Windows platforms, Java does not support anything but a print screen command that is standard to the operating system. Creating a cross-platform screenshot solution would expediate development routines/behavoirs and increase product artifact.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Drag from Java applet in browser to desktop: see image file appear representing an image resolution equal to applet resolution in appropriate color format PNG or BMP ideally, TIF secondarily.

      Poses questions on licensing.
      ACTUAL -
      At mousepress, performance issues such as saving the content of the virtual machine's graphics view should only be accomplish upon mouse release, when the cursor is no longer in the browser window (cross-browser/browser version non-specific). Use of a cross-platform image file format, or RAW screen dump, would be greatly appreciated.

      ---------- BEGIN SOURCE ----------
      No test case exists for this RFE.
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      It is difficult to export files from Applets when running in a browser. Applets can use PHP to write data, but there is no easy way to export a RAW DUMP of the Applet's viewable window once running in a browser, or even write a text file.

      Finding an uninfectable file format to avoid security issues; major security issue would be an image file RAW dump matching a virus or trojan horse software when dumped, though the file extension would be RAW, not EXE or other executable, nor with executable file attributes. This would be a way to transmit virus data only: in effect innoculant data or dormant viral data. (This is a concern with a few image file formats, and may be a concern with a RAW dump.) For this reason choosing an image file format that cannot infect the computer (preferably an open-source one such as a bare-bones TIFF export module).

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: