🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19632

drawing lines in imagecontrol

#19632
From: Telly Doukoglou
Date: Fri, 16 Jan 1998 00:00
19 lines
1010 bytes
Very desperate question:

I've created an imagecontrol box in my form.  I'd like to draw a line in
that box, but don't know how. I was told to use getgraphics, but where
do I stick that command in, i.e., how does getgraphics know what object
to get the graphics contexts from?

Right now, I just have something like:

Graphics g = getGraphics();

but I don't know if this is correct.

Your help is very appreciated. If possible, could you please directly
email me at
mmaa@mit.edu

thank you very much!
Technical Details
Message-ID: <34BFCA49.5898E569@icon.mit.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,161df10c1ef45d4f,start
X-Google-Attributes: gidf74b3,public
From: Telly Doukoglou <telly@icon.mit.edu>
Subject: drawing lines in imagecontrol
Date: 1998/01/16
Message-ID: <34BFCA49.5898E569@icon.mit.edu>
X-Deja-AN: 316646814
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Organization: None
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language