Solved

how to use swing to draw a grid

Posted on 2006-11-06
3
337 Views
Last Modified: 2010-03-31
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.

:)
0
Comment
Question by:Knightley
  • 2
3 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 17881544
0
 
LVL 1

Author Comment

by:Knightley
ID: 17881979
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
 
LVL 35

Accepted Solution

by:
girionis earned 50 total points
ID: 17882238
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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Weekend adv creator 3 52
check java version using powershell 13 172
ejb stateless example 2 23
Cisco ASA: Java web start no go, asdm launcher no go 3 37
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question