I just stumbled over this code in JViewport.setViewPosition():
if (view instanceof JComponent) {
JComponent c = (JComponent)view;
oldX = c.getX();
oldY = c.getY();
}
else {
Rectangle r = view.getBounds();
oldX = r.x;
Hello Miguel
Alex,
I got this message when I submitted it: Your suggested bug-fix has been
assigned an internal review ID of:
1070487
As for the rest of the email, I'm still investigating. However, I've
discovered that the JPopupMenu's parent is set to null when I call
getRootPane from a
Alex,
I got this message when I submitted it: Your suggested bug-fix has been
assigned an internal review ID of:
1070487
As for the rest of the email, I'm still investigating. However, I've discovered
that the JPopupMenu's parent is set to null when I call getRootPane from a
JMenuItem, but
Hello Miguel
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6499857
I submitted a fix.
Sorry, I can't find the fix
How did you submit it ?
The fix works for JMenuItems, but when I look at the
documentation, I see that other components may also be added to JMenus,
and the fix won't wo