Is it possible to use Graphics2D in a servlet? And if I have a Graphics2D object, is it possible for me to convert it to a .jpg image and displ开发者_Go百科ay it in a JSP page?In my opinion yes, Rea
I have a java library which heavily uses java.awt.Graphics2d. I want to port my library to html5 canvas by using gwt.
I have an angle in a frame (I draw it with two lines). I want to make it flexible to frame; I mean, when the user expands the frame angle also become expanded and vice versa. I tried a lot of examples
I am new to Java and have been trying to make some simple games in it with lots of images on screen. Since then I have been using the \'Graphics\' class to draw these images, strings and shapes, but I
I have t开发者_如何学JAVAo draw precise archs in java. I am currenlty using Graphics2D.fillArc(). The problem is that it only accepts ints and the archs are not precise and i cant make the archs degre
Im working on a paint application written in java and running into a few (more) problems. I have a gui and a working program(kinda), my only problem is that the lines and graphics that the user draws
I\'m doing a simulator project that tests several A* based algorithms and show how they work and their results.
I have a开发者_Go百科 canvas that is drawing everything in a paintComponent() method. Is it possible to draw outside of paintComponent (without calling a method within paintComponent?)
I\'m writing some text on top of an existing image and the font isn\'t very sharp.Is there some settings either with the Graphics2D or Font classes that help make fonts look nicer when writing text on
I have BufferedImage image object开发者_运维技巧s which have transparent pixels. What I\'d like to get is Shape or Area objects which enclose the transparent portion of the image. You could try it tha