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

There is no way to account for the presence/size of the Windows Taskbar

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.4.0
    • 1.1, 1.2.2, 1.3.0
    • client-libs
    • beta
    • generic, x86
    • generic, windows_95, windows_nt



      Name: mc57594 Date: 02/18/97


      There appears to be no way to know what a maximized window's
      dimensions will/should be under Windows 95/NT 4.0. This is
      because there is no way to discover/account-for the presence/
      absence/size/location of the Windows Taskbar (and any other
      registered taskbars - such as office). This makes it possible to
      easily create frames which get at least partially obscured by the
      taskbars and almost impossible to set frames so that they fill
      the screen area up to the taskbars.

      Toolkit.getScreenSize() always reports the size of the entire
      screen (which it probably should).

      The screen is somewhat like a window object in that it needs to
      have Insets.

      company - HMS Software , email - ###@###.###
      ======================================================================

      Name: skT88420 Date: 06/07/99


      Nearly all modern operating systems have floating control bars,
      which mostly are set to always on top mode. Under windows we have
      the taskbar and native windows programs are able to take care about
      that. That means that native windows programs have the possibility
      to adjust there size on the available screen size.
      Now we need this in java, too!
      Would like the following method in the Toolkit class:

      public static Shape getUsableScreenSize()

      This method should return the bounds of the available client area,
      on platforms where this is not possible or too difficult to compute
      it just should return the screen bounds.

      I don't see any other solution to the following problem:

      How limit the size of dialog boxs to the visible screen size?

      On frames a workaround could be to make them full screen, but
      on dialog boxs?

      Thanks
         Patrick
      (Review ID: 84038)
      ======================================================================

      This is very noticable under Windows with the taskbar along the top of
      the screen. Java Frames almost always appear with their title bar
      obscured by the Task bar.
      brent.christian@eng 2000-01-04

            rraysunw Richard Ray (Inactive)
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: