I\'ve been trying to alter the Android (v3.0 Honeycomb) API Demo FingerPaint (API >= 11) to include a working erase option that removes the last drawn p开发者_开发知识库ath.
i am in situation where i want to draw lines one by one with some time period. I tried to do it by using thread.but it didnt work for me.
If I am using the drawString(String, Int, Int) command in java. How can I store / call different graphics that have been stored in an ArrayList?
I followed Apple\'s GLPaint paint application and tried to modify it.. In sample code they have used simple particle.png to draw.
I\'m trying to write a simple paint applet with Java, but I\'m having trouble with BasicStroke.Initially, my plan was to try to somehow draw a line with a width, but the API apparently doesn\'t suppor
I have a JPanel which overrides paintComponent like this @Override public void paintComponent(Graphics g) {
I have a script that cycles (almost like a slideshow) through a Vector object (flipBook), using a Thread (animationThread), and adds them to a JPanel. However, the added image is only 2x2 pixels large
I want to set an image from gallery as a background to the canvas in fingerpaint (api demo sample). I can retrieve the image from gallery b开发者_如何转开发ut not able to set that as a background. One
Is there a way of preventing anything drawn to the canvas to be see开发者_开发知识库n until a certain point? I\'d like to be able to draw a number of objects at once, then draw over them with another
The problem is pretty complicated to explain but here goes: I\'m making a paint program that draws paths onto a canvas with textured background. Each stroke is stored as a path that updates as the u