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

It should be possible to plug in custom Toolkit implementation

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P5
    • Resolution: Unresolved
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Understanding:
      Cause Known
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      A DESCRIPTION OF THE REQUEST :
      It is currently discouraged in all java docs of the ComponentPeer FramePeer WindowPeer etc. to implement these interfaces.

      JUSTIFICATION :
      The problem is that I needed a way to transport the user interface of a java process to another PC by means of VNC. I accomplished this by implementing the Peer interfaces of Swing and creating my own Toolkit. Even scaling works. Only a few issues remain: printing does not work and different resolutions between server and client problems.

      So, I have created a way to transport the entire user interface of an arbitrary java process to another PC which only needs to have a VNC Client running. No user interface is visible at the server side. For our company, this is an essential achievement. However, it currently is kind of illegal.

      Please provide support for this kind of applications. Sharing code is offcourse one of the options.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I would like a more pure set of interfaces to allow any kind of peer implementations. I.e. making it a legal Java feature.
      ACTUAL -
      Currently it works only partly. Printing does not work. It is also not guaranteed to work in feature versions.

      ---------- BEGIN SOURCE ----------
      Source code of a working VNC 100 % pure Java server can be negotiated about.
      ---------- END SOURCE ----------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              art Artem Ananiev
              Reporter:
              ndcosta Nelson Dcosta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Imported:
                Indexed: