To customize the way that a client component interacts with its scroll pane, you can make the component implement theScrollableinterface. By implementingScrollable, a client can specify both the size of the vie
The accessible version of theCornerclass contains just enough code to make its instances accessible. We implemented accessibility support by adding the code shown in bold to the original version ofCorner. public class Corner extends JComponentimplements Accessible{ protected void paintComponent(Graphics g...
Reading class files in combination with reflection (Enum.class.isAssignableFrom(cls), cls.isInterface) looks like the only way to make sure you get all classes and filter out all enums and interfaces. That still leaves anonymous classes, but the naming pattern ($xxx with xxx being some numbe...