/* Copyright (c) SEMM NL All rights reserved.
Author : Paul Hamaker. Part of JavaLessons.com
This code is for educational purposes only. Use at own risk.*/

1. package ourbeans; 

2.  

3. import java.awt.*; 

4.  

5. public class Bino  extends Canvas 

6.   implements java.io.Serializable 

7.

8.   public Bino() 

9.   { 

10.  

11.   } 

12.   public Dimension 

13.   getPreferredSize (){ 

14.     return new Dimension (50,50); 

15.   } 

16.   public Dimension 

17.   getMinimumSize (){ 

18.     return getPreferredSize (); 

19.   } 

20.