Skip to main content

Any alternative for ToolKit.ScreenInsets in jdk1.3

1 reply [Last post]
Anonymous

Hi,

Do anybody know how to get the size of windows taskbar (basically ToolKit.getScreenIInsets() that is in 1.4) in jdk1.3.
Or atleast is there anyway to know that where the taskbar is present? (at left/right/top/bottom). Or anybody have any workarounds.

Thanks,
Jana

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Brent Christian

> Hi,
>
> Do anybody know how to get the size of windows taskbar (basically ToolKit.getScreenIInsets() that is in 1.4) in jdk1.3.
> Or atleast is there anyway to know that where the taskbar is present? (at left/right/top/bottom). Or anybody have any workarounds.
>
> Thanks,
> Jana

Hi, Jana

Unfortunately, previous to 1.4, there was no way to get the screen insets from
Java. That's why we added the API to Toolkit. I definitely recommend moving to
1.4.2.

-Brent