Solved

how to use swing to draw a grid

Posted on 2006-11-06
3
325 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

914 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now