I got some problems on how to get the freehand Line and such working atleast if i figure out how to do the line then it will be easy to convert it over to work for both the Oval and the Rectangle.
...
Type: Posts; User: Matta
I got some problems on how to get the freehand Line and such working atleast if i figure out how to do the line then it will be easy to convert it over to work for both the Oval and the Rectangle.
...
Yeah im pretty sure i have the right jpg stuff atleast i looked at my image properties and it said jpg so thats what im using. But thats the basics.
Im not using any packages no. I have a folder...
I have actually tried to use the full path of the image, where it is located im still getting the false error also this was known as I started of using...
Im getting the false output so its not located... So its the path name then?
I have some problem drawin an image icon out on the screen and animate it, the thing is i cant even see the image being displayed so i guess its something wrong.
Here is a piece of the code
...
Thanks guys i fixed it after some searching throug my head so as of now that problem is fixed actually did it a few days ago :) so i got the same screen output as you got. The problem is if you fit...
My scrnPrnt doesnt work... -_- on this comp.
So i used my phone..
577578
Thats what i have ..
Edit:
The problem is atleast what i can comprehend from the code is the tileMap board map or 2d array list isnt putting itself inside the JFrame Correctly since it draws a wierd small retangular...
Yeah i have allready done so from the start belive me i have tried to get the loop to work tried with the increment 1 and the blockSize, they paint the same image, nothing is changing. And removed...
Okei here we go then ;)
this will be somewhat big but, thanks alot in advance norm ur helping out alot ;)!
import javax.swing.JFrame;
public class View extends JFrame {
well the problem lies within the code i allready posted it seems, i use this 2D-arraylist which described and i want it to draw lines at the number 1 numbers so i get a line all around the game if...
Double Posting here but thanks man i got it working once i used ur statement how silly of me to not come up with that, well another problem appears i now only get a small square in the middle of the...
This is the whole wall of text of the problem, so you suggest that i just add the g statement inside of it? I have created a graphics g; inside the board class or the board that contains the array...
So im using a simple grid[][] ={
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
{1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
{1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
{1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},...