how can i drow a graphic in java like the figure in the link below
http://www.daniweb.com/forums/attachment.php?attachmentid=23269&stc=1&d=1324131212

Recommended Answers

Draw 14 rectangles in the right positions! Post the code you have written so far.

Jump to Post

Do you have prior knowledge of using graphics class in java?

Jump to Post

All 7 Replies

Draw 14 rectangles in the right positions! Post the code you have written so far.

I don't have any idea how to start,and the graphics must have 100 boxes.The picture was an example.

Do you have prior knowledge of using graphics class in java?

I don't have any idea how to start

Really? not even a public static void main(String[] args) ?

yes i know how to program in java but i am not very good in graphics.

Start here:
How to Draw a Rectangle in Java

If you read and learn and not just copy paste the codes then you should be able to go on from here or post your current code if you got a problem with it

Ok thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.