Article View: borland.public.jbuilder.java.swing
Article #1491Display shape objects in a GUI
From: madmax
Date: Fri, 12 Dec 2003 19:08
Date: Fri, 12 Dec 2003 19:08
11 lines
1510 bytes
1510 bytes
I am a complete beginner to Java, so any help would be great;y appreciated.
I need to create a number of shape objects(triangles for existance) and
display them in a GUI. I need to place the shapes in random positions and
keep a record of their x - y position within the frame or container. Can
anyone point me in the right direction in terms of a tutorial / book or code
snippets that I can work on.
Many thanks
Steve
Technical Details
Message-ID:
<3fda1214$0$25673$cc9e4d1f@news.dial.pipex.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!lnewspost00.lnd.ops.eu.uu.net!emea.uu.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,e903b445c5191cdb,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-12-12 11:08:04 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!lnewspost00.lnd.ops.eu.uu.net!emea.uu.net!not-for-mail From: "madmax" <kushanku@bigfoot.com> Newsgroups: borland.public.jbuilder.java.swing Subject: Display shape objects in a GUI Date: Fri, 12 Dec 2003 19:08:01 -0000 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Lines: 13 Message-ID: <3fda1214$0$25673$cc9e4d1f@news.dial.pipex.com> NNTP-Posting-Date: 12 Dec 2003 19:08:04 GMT NNTP-Posting-Host: 81-86-249-145.dsl.pipex.com X-Trace: 1071256084 news.dial.pipex.com 25673 81.86.249.145:33013 X-Complaints-To: abuse@uk.uu.net