On Thu, 29 Oct 1998, John Summerfield wrote:

> 
> I have seen insets mentioned in the JDK documentation, but only in the
> context of a ScrollPane.
> 
> Seems I've some code to change. Sob.
>  

I'll assume that Insets fixes the problem - it was, in any event, secondary
to something else that was bugging me; MouseEvent.isPopuptrigger() always
returns false on OS/2 & NT - that's why my sample code was doing mousey
things.

One thing about this Insets caper bugs me though: I have a Frame: its
background is white. I position a window (MenuBar, grey) at the top using
the value returned by Insets. On OS/2 it looks fine: on Linux there's a 1-2
pixel white line above the MenuBar.

I'll hide the problem for now by changing my colours.

btw I have noticed the Insets returned by OS/2 are different. I've also
noticed that Insets returns all zeroes if the window's not visible -
another spastic idea. Perhaps I'll bug Sun with that one though.

Thanks for the help.


Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.

Reply via email to