Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in Jpopup Menu

 
Shanmugham
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Mahesh swami
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try, Invoke JPopUpMenu.setDefaultLightWeightPopupEnabled(false).THis should work
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic