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

Window title and borders appear off screen in FVWM2

    Details

    • Subcomponent:
    • CPU:
      generic, x86, sparc
    • OS:
      generic, solaris_2.6

      Description



      Name: moC74494 Date: 05/25/98


      Easiest seen when starting the Appletviewer. The window title and left border are place outside of the screen (Top left) when started.
      Very annoying really. Happens to all windows created by Java as far as I can tell, not only the appletviewer.
      It seems to work in JDK <=1.1.5 (at least 1.1.3 and 1.1.5) .
      (Review ID: 30407)
      ======================================================================


      phil.race@eng 1998-08-24

      This also happens for Digital Unix when running the Motif Window Manager and
      also when running programs on Digital Unix but displaying on an NT box using
      eXcursion. Through eXcursion it has an added behavior where it jumps back on screen when the mouse is moved beyond the upper left corner.

      The java program below demonstrates the problem.

      // Creating a subclass of Frame.
      import java.applet.Applet;
      import java.awt.*;

      public class MyFrame extends Applet {
          private Button dummy;

          public void init()
          {
              dummy = new Button("Do Nothing");
              add(dummy);
          }

          public static void main( String args[] )
          {
              // create application Frame and resize
              Frame app = new Frame("Application");
              app.setSize(300,100);

              // create applet instance
              MyFrame m = new MyFrame();

              // initialize and start the applet
              m.init();
              m.start();

              // add applet to center of Frame
              app.add(m, BorderLayout.CENTER);

              // display the frame (everything attached is painted)
              app.setVisible(true);
          }
      }

      The problem exists for Motif in 1.1.5 as well as 1.1.6. Originally DEC
      stated that the problem did not exist in 1.1.5 but that is only true for eXcursion.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tdv Dmitri Trembovetski (Inactive)
                Reporter:
                moanceasunw Mircea Oancea (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: