add some drawing methods
add Jmi.clear_exception to rescue Java exception