or drag border to resize
Best viewed with Firefox
Feel free to donate Bitcoin, Bitcoin Cash, Ether or Litecoin Post this site to

Canvas J2ME

This lesson is about extending a Canvas to override its paint and draw a pie diagram. It also deals with calculations and text alignment.


Your browser needs Java support (J2SE) to show this lesson.

  • Clicking repeatedly on a highlighted explanation paragraph takes you through all associated Java code lines. A tiny green marker indicates there's more than one associated code block.
  • Double-click takes you to the most important line.
  • Right-click or shift-click takes you to your own scroll position in the Java source code pane.
  • Right-click in the Java source code pane to switch line numbers on/off.


Double-click to select or


Copyright © 2000-2013 System Exclusive & Multi Midi (NL) All rights reserved

Terms, conditions, disclaimer