I've tried the adjustPopupLocationToFit setting in our own app
and it works fine as is, with 1.4.1_01 on Win2K.
(By the way, true will be the default starting with 1.4.1).
So I cannot easily tell why it does NOT work for you.
At any rate, you could still use your own handling and avoid the taskbar
using GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds()
and related methods.

Anton Katilin wrote:
> Hello Erb!
> 
> Yes, we use our own handling.
> We have tried the "-Djavax.swing.adjustPopupLocationToFit=true" approach,
> but it seams that it doesn't solve all the problems. It does proper
> positioning if the popup menu tries to go off the right border of the
> screen, but doesn't handle the screen bottom - menu is under the task bar.
> We'll keep on investigating this issue. If you had any ideas/hints how to
> solve it, we would appreciate it very much if you could share your knowledge
> :)
> 
> --
> Best regards,
> Anton Katilin
> ---------------------------------------------------------
> JetBrains, Inc / IntelliJ Software
> http://www.intellij.com
> "Develop with pleasure!"
> 
> 
> "Erb" <[EMAIL PROTECTED]> wrote in message
> afstr4$ct5$[EMAIL PROTECTED]">news:afstr4$ct5$[EMAIL PROTECTED]...
> 
>>Are you doing special handling of popup menus?
>>The popup menus come up under the Windows taskbar, even when
>>-Djavax.swing.adjustPopupLocationToFit
>>is specified.  Also the menus never seem to pop up above the click point
>>when the click point is close to the bottom of the screen.
>>--
>>
>>Erb
>>
>>==============================================================
>>"Most of you are familiar with the virtues of a programmer.
>>There are three, of course: laziness, impatience, and hubris."
>>    - Larry Wall
>>==============================================================
>>
> 
> 
> 

-- 

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
    - Larry Wall
==============================================================

_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to