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

RFE: Be able to set and get the DISPLAY Variable Dynamically

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.1
    • client-libs
    • generic
    • generic

      Name: ddT132432 Date: 10/11/2001


      java version "1.3.1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
      Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)


      Upon creation of any Swing or AWT related object, the X11GraphicsEnvironment
      tries to initDisplay(). It is searching for an X Server Display Variable. Java
      should have access to this vairable. We should be able to set this Variable
      while a Java application is running before the X11GraphicsEnvironment tries to
      connect to it. Also if a connection to an X Server is made, we should be able
      to get the Display variable, (or host and screen), the Application connected to.

      Changing where the Display is showing, or connected to should also be able to
      change. For example, if a Java application connectes to MyXServer:1.0, we
      should be able to tell the application to stop displaying here and now display
      to, MySecondXServer:1.0.

      The support for a Headless GraphicsEnvironment is not enough.
      We need to be able to switch where we want to application to be Displayed,
      dynamically, during execution of the Java application.
      (Review ID: 133560)
      ======================================================================

            art Artem Ananiev (Inactive)
            ddressersunw Daniel Dresser (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: