quick question on JidePopup

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

quick question on JidePopup

Postby siddhaye » Fri Dec 12, 2008 3:35 pm

hi,
I have a question regarding JidePopup.

In my code, I have...

popup.setOwner(MyFrame.getInstance()) ;
popup.DISTANCE_TO_SCREEN_BORDER = 20;
popup.showPopup(currentMouseLocationInScreenCoords.x, currentMouseLocationInScreenCoords.y);

If I understand correctly, shouldn't the code above ensure that if the (x,y) location where popup is shown is too close to the screen border, then the popup will be moved appropriately?

If not, how to achieve that behaviour?

thanks,
Sachin
Last edited by siddhaye on Fri Dec 12, 2008 3:48 pm, edited 1 time in total.
siddhaye
 
Posts: 16
Joined: Mon Oct 20, 2008 9:39 am

Re: quick question on JidePopup

Postby JIDE Support » Fri Dec 12, 2008 3:46 pm

You should be able to reuse. Could you create a test case and post it here?

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37263
Joined: Sun Sep 14, 2003 10:49 am

Re: quick question on JidePopup

Postby siddhaye » Sun Dec 14, 2008 9:38 am

hi,
actually, I am able to reuse, so I edited my question to something else as you can see posted above, could you please answer that?

thanks,
Sachin
siddhaye
 
Posts: 16
Joined: Mon Oct 20, 2008 9:39 am

Re: quick question on JidePopup

Postby JIDE Support » Sun Dec 14, 2008 10:46 am

No, showPopup(x,y) will show exactly at the x and y position you specified.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37263
Joined: Sun Sep 14, 2003 10:49 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 7 guests