Class CloudComponent

All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants

public class CloudComponent extends JButton
See Also:
  • Constructor Details

    • CloudComponent

      public CloudComponent(ImageIcon cloudImage, Cloud cloud)
      Create a new JButton with cloud as icon and draw students inside it
      Parameters:
      cloudImage - Cloud's icon to display
      cloud - Cloud that will be represented by button