[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Patch for BasicInternalFrameUI fixes #23966
From: |
Anthony Balkissoon |
Subject: |
[cp-patches] Patch for BasicInternalFrameUI fixes #23966 |
Date: |
Mon, 19 Sep 2005 13:30:11 -0400 |
BasicInternalFrameUI$GlassPaneDispatcher.handleEvent was re-dispatching
events to itself causing an infinite loop. This patch fixes the
problem. Patch is attached.
2005-09-19 Anthony Balkissoon <address@hidden>
* javax/swing/plaf/basic/BasicInternalFrameUI.java:
(GlassPaneDispatcher.handleEvent): Replaced call to SwingUtilities'
convertMouseEvent (with identical source and desination) with a simple
cast. If acquireComponentForMouseEvent reveals we're going to
re-dispatch this event to ourselves (and loop infinitely), return. Also
replaced contentPane by glassPane as the source argument to
SwingUtilities.convertMouseEvent since the glassPane is the real
source.
--Tony
JInternalFrameGlassPaneInfiniteDispatch.diff
Description: Text Data
- [cp-patches] Patch for BasicInternalFrameUI fixes #23966,
Anthony Balkissoon <=