🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #1285

Reselecting lines drawn

#1285
From: Rudy
Date: Wed, 24 Dec 2003 16:38
9 lines
1328 bytes
Hi, is it possible to reselect a line that has been drawn on a panel for
manipulation.  I have a few ideas but not sure if it is the way of doing it.
When a line is drawn i will store it in an 2d array, and if i can select it,
perhaps via getBounds(), i will search the array of the lines and manipulate
it there and then redraw the panel.

Is that the best way to do it???
All help appreciated
Rudy
Technical Details
Message-ID: <3fe9c11c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,7e2b81ad53af448e,start
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-12-24 08:59:32 PST
Reply-To: "Rudy" <rhentzen@hotmail.com>
From: "Rudy" <rhentzen@hotmail.com>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Reselecting lines drawn
Date: Wed, 24 Dec 2003 16:38:07 -0000
Lines: 11
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
NNTP-Posting-Host: 81.86.182.21
Message-ID: <3fe9c11c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1072283932 81.86.182.21 (24 Dec 2003 08:38:52 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail