Á͘ÿŒ ÿ‚Ý…‹Ÿ‹ ÿÁ̓ ̓͂— ÔƒÁÍ ÅŠ‚‹


Listing 3: AncestorAdapter.java


01 package com.holub.ui;
02
03 import javax.swing.event.*;
04

/ ****************************************
Corrects a flaw in Swing, provides an AncestorListener implementation made up of empty methods.

/


05  public class AncestorAdapter implements AncestorListener
06  {   public void ancestorAdded   ( AncestorEvent event ){}
07      public void ancestorMoved   ( AncestorEvent event ){}
08      public void ancestorRemoved ( AncestorEvent event ){}
09  }


Copyright 2001-2002, IT World / Java World / PC WORLD Iran / International Data Group Inc. All rights reserved.