2004-05-27 Michael Koch <konqueror@gmx.de>

* javax/swing/JPopupMenu.java
	(isVisible): Do not use visible directly.
	(setVisible): Likewise.
	* javax/swing/JWindow.java
	(JWindow): call accessible constructor.
	* javax/swing/RepaintManager.java
	(paintDirtyRegions): Use public methods to obtain iterator.

From-SVN: r82319
This commit is contained in:
Michael Koch 2004-05-27 12:26:13 +00:00 committed by Michael Koch
parent dce1438a65
commit a4171ce18e
4 changed files with 21 additions and 11 deletions

View File

@ -1,3 +1,13 @@
2004-05-27 Michael Koch <konqueror@gmx.de>
* javax/swing/JPopupMenu.java
(isVisible): Do not use visible directly.
(setVisible): Likewise.
* javax/swing/JWindow.java
(JWindow): call accessible constructor.
* javax/swing/RepaintManager.java
(paintDirtyRegions): Use public methods to obtain iterator.
2004-05-25 David Jee <djee@redhat.com>
* java/awt/Container.java

View File

@ -70,7 +70,7 @@ import javax.swing.plaf.PopupMenuUI;
* DOCUMENT ME!
*
* @author $author$
* @version $Revision: 1.3.8.3 $
* @version $Revision: 1.4 $
*/
public class JPopupMenu extends JComponent implements Accessible, MenuElement
{
@ -471,7 +471,7 @@ public class JPopupMenu extends JComponent implements Accessible, MenuElement
*/
public boolean isVisible()
{
return super.visible;
return super.isVisible();
}
/**
@ -481,7 +481,7 @@ public class JPopupMenu extends JComponent implements Accessible, MenuElement
*/
public void setVisible(boolean visible)
{
super.visible = visible;
super.setVisible(visible);
firePopupMenuWillBecomeVisible();
@ -800,7 +800,7 @@ public class JPopupMenu extends JComponent implements Accessible, MenuElement
* DOCUMENT ME!
*
* @author $author$
* @version $Revision: 1.3.8.3 $
* @version $Revision: 1.4 $
*/
private interface Popup
{
@ -824,7 +824,7 @@ public class JPopupMenu extends JComponent implements Accessible, MenuElement
* DOCUMENT ME!
*
* @author $author$
* @version $Revision: 1.3.8.3 $
* @version $Revision: 1.4 $
*/
private class LightWeightPopup extends JPanel implements Popup
{
@ -870,7 +870,7 @@ public class JPopupMenu extends JComponent implements Accessible, MenuElement
* DOCUMENT ME!
*
* @author $author$
* @version $Revision: 1.3.8.3 $
* @version $Revision: 1.4 $
*/
private class MediumWeightPopup extends Panel implements Popup
{
@ -917,7 +917,7 @@ public class JPopupMenu extends JComponent implements Accessible, MenuElement
* DOCUMENT ME!
*
* @author $author$
* @version $Revision: 1.3.8.3 $
* @version $Revision: 1.4 $
*/
private class HeavyWeightPopup extends JWindow implements Popup
{
@ -958,7 +958,7 @@ public class JPopupMenu extends JComponent implements Accessible, MenuElement
* DOCUMENT ME!
*
* @author $author$
* @version $Revision: 1.3.8.3 $
* @version $Revision: 1.4 $
*/
public static class Separator extends JSeparator
{
@ -984,7 +984,7 @@ public class JPopupMenu extends JComponent implements Accessible, MenuElement
* DOCUMENT ME!
*
* @author $author$
* @version $Revision: 1.3.8.3 $
* @version $Revision: 1.4 $
*/
protected class AccessibleJPopupMenu extends AccessibleJComponent
{

View File

@ -80,7 +80,7 @@ public class JWindow extends Window implements Accessible, RootPaneContainer
public JWindow()
{
super();
super(null); // FIXME: This throws an exception.
}
// huuu ?

View File

@ -438,7 +438,7 @@ public class RepaintManager
dirtyComponents.clear();
// step 2: paint those roots
Iterator i = roots.iterator(AbstractMap.ENTRIES);
Iterator i = roots.values().iterator();
while(i.hasNext())
{
AbstractMap.BasicMapEntry ent = (AbstractMap.BasicMapEntry) i.next();