use canvas in java code example Example: my canvas java public class Canvas extends Component implements Accessible