This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
Hi everybody, My problem is like this. I have Jpopupmenu object and im making it shown when i press right mouse button click. When i press mouse near the borders of the container, the part of it become invisible. for eg, if my container object is occupying full screen and im pressing right click on the right border of the container, the popup is invisible. What i want is, the popup menu should be visible and its location has to be properly set by calculating its x & y coordinates, even if u press near the right extreme border of the container (which occupies full screen) or pressing it at bottom of the screen. can any one try to suggest how to solve this problem??? thanks in advance ciddharthan