0

As the title says, I need to manually set the popup location of the JMenuItem.

jMenuItem1.getPopupLocation(null).setLocation(null);

I tried the above, but I can't proceed because it gives me compile errors. I think it is with the "null" values. Please give me an answer with an example.

I need to change the x coordinate ,because my "look and feel" is changing the x coordinate.

IS there any help.

Sniper
  • 41
  • 7

0 Answers0