package for coordinate lines

hi there…im new to programming games with java. im creating my first java android game,a simple games with lines and squares. im sure there will be some package or sth useful for that, but i really cant find sth, ive searched a lot.i would appreciate if someone could help me out… thanks :slight_smile:

There are no packages, you’ll have to create the program by yourself. I would recommend starting off with Java2D, google around and learn about it before you try to do any graphics work.
Edit: Sorry, didn’t realize it was for Android. In that case, try LibGDX, although you might have a hard time starting out with it as it’s a more advanced graphics library.

in fact i have difficulties in connecting my code with the android sdk, so that my code is action listened in an android… anyway im startin with LibGDX that u recommended me.thank a lot

opiop65 i would like to know where can i look at all the packages of java game programming, so i can easily find out what im searchin for when ive any problem… cause i think i will lose a lot of time creating things that might be just created before from java itself, if i dont know its packages and their function…

Well, if you’re using LibGDX, check out the LibGDX documentation, just google it. If you’re using Java2D, then google Java2D documentation.

ok thanks a lot!! ;D