N
news
Hi All
I have created a JPopupMenu to popup at right mouse click on JTextPane. The
JPopupMenu has JCheckBoxMenuItem as its components. My problem is that the
popup menu is not showing up over the JTextPane. I am getting its view only
on click at the right end side of the pane. Click on other areas of the pane
is not showing the popup. It seems to be hidden under the pane.I tried
JPopupMenu.setLightweightpropertyEnabled(false), but even then i am not
getting it on top. Pls. do give me a solution.
Thanks in Advance.
Bye
Jimmy
I have created a JPopupMenu to popup at right mouse click on JTextPane. The
JPopupMenu has JCheckBoxMenuItem as its components. My problem is that the
popup menu is not showing up over the JTextPane. I am getting its view only
on click at the right end side of the pane. Click on other areas of the pane
is not showing the popup. It seems to be hidden under the pane.I tried
JPopupMenu.setLightweightpropertyEnabled(false), but even then i am not
getting it on top. Pls. do give me a solution.
Thanks in Advance.
Bye
Jimmy