Hello, i tried the +/- x and +/- y directions. I modified the code so that i can draw the circle on mouse click and i use mouse dragged so that i can drag it to any locations. But i when i run the...
Type: Posts; User: Shania_01
Hello, i tried the +/- x and +/- y directions. I modified the code so that i can draw the circle on mouse click and i use mouse dragged so that i can drag it to any locations. But i when i run the...
Hello, does anyone know how i can draw a small handle (square) on the edge of the circle at each quadrant( for e.g at the north,east,west and south quadrants) I used general path to draw the circle,...
How can i create an image that is saved in the class? I tried using BufferedImage instead of Image and i include this :
public void PaintBuilding(Graphics2D offScreenG2D, int x, int y){
...
Hello, I add a second button to paint a second image on the screen, however when i select the second radio button it is overriding the first image which was previously drawn. How can i solve this? I...
Hello I am using a set method to set an index and a get method to return the index, and if index is 1,it should call a method which draws an image. But the index is not changing, and the image is not...
Hello I am using a set method to set an index and a get method to return the index, and if index is 1,it should call a method which draws an image. But the index is not changing, and the image is not...