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

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

ruby on rails - Authlogic - how to make a registration and don't log in the new account? -