java - How to create a Graphics2D instance? -


what's easiest way in java se 7 obtain instance plot few points debugging? desktop environment.

you use bufferedimage:

bufferedimage image = new bufferedimage(width, height, bufferedimage.type_int_argb); graphics2d graphics2d = image.creategraphics(); 

Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

php - Satis Composer Repository Installation -