how to use swing to draw a grid

hi, i am trying to use swing to draw
a small grid.

i have drawn a example with a paint
program:
http://www.adelu.net/spielfeld.jpg

any body have any tutorial for me
or write me some basic code?

thanx.

:)
LVL 1
KnightleyAsked:
Who is Participating?
 
girionisCommented:
Yes you are right, sorry didn't notice that. Try this url: http://forum.java.sun.com/thread.jspa?threadID=763410&tstart=210 and tell us if it helps.
0
 
KnightleyAuthor Commented:
thanx, seems i do not have the objectdraw library. :(

it would be nice just to use the basic  swing components, like layout manager or so.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.