Article View: borland.public.jbuilder.java.language
Article #14431Swing Graphics Object Whoas....
From: Professional
Date: Wed, 08 Sep 1999 00:00
Date: Wed, 08 Sep 1999 00:00
61 lines
3747 bytes
3747 bytes
This is a multi-part message in MIME format. ------=_NextPart_000_0018_01BEF9D3.64CC9F60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I am having some trouble with Graphics object that my paintComponent is = receiving. All I do is g.drawLine(x1,y1,x2,y2); and the line only draws 1/2 the = width. If I resize my frame it then draws ok. What could the resizing of the = frame possibly do that would alleviate this problem besides = re-manufacture a new Graphics Object. I am working with JScrollPane and = it's 9 children that sit ontop of JViewport. I see that SwingGraphics.java wrapper manufactures Graphics objects. I = think I have a major bug. It reproduces on both VJ++ 6.0 and VCafe = 3.0c... a SUN bug... Can anyone help ? Email appreciated to my work at kcolassi@ctron.com ------=_NextPart_000_0018_01BEF9D3.64CC9F60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY background=3D"" bgColor=3D#ffffff><FONT size=3D2>Hi,<BR><BR>I am = having some=20 trouble with Graphics object that my paintComponent is = receiving.<BR><BR>All I=20 do is g.drawLine(x1,y1,x2,y2); and the line only draws 1/2 the = width.<BR><BR>If=20 I resize my frame it then draws ok. What could the resizing of the frame = possibly do that would alleviate this problem besides re-manufacture a = new=20 Graphics Object. I am working with JScrollPane and it's 9 children that = sit=20 ontop of JViewport.<BR><BR>I see that SwingGraphics.java wrapper = manufactures=20 Graphics objects. I think I have a major bug. It reproduces on both VJ++ = 6.0 and=20 VCafe 3.0c... a SUN bug...<BR><BR>Can anyone help ?<BR><BR>Email = appreciated to=20 my work at kcolassi@ctron.com</FONT></BODY></HTML> ------=_NextPart_000_0018_01BEF9D3.64CC9F60--
Technical Details
Message-ID:
<7r5kt1$qio$1@pyrite.mv.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,6ed2fa6d9dc68732,start X-Google-Attributes: gid111d45,public X-Google-Thread: fcfbb,6ed2fa6d9dc68732,start X-Google-Attributes: gidfcfbb,public X-Google-Thread: 10fd6d,6ed2fa6d9dc68732,start X-Google-Attributes: gid10fd6d,public X-Google-Thread: 108bbb,6ed2fa6d9dc68732,start X-Google-Attributes: gid108bbb,public X-Google-Thread: f74b3,6ed2fa6d9dc68732,start X-Google-Attributes: gidf74b3,public X-Google-Thread: 10a146,6ed2fa6d9dc68732,start X-Google-Attributes: gid10a146,public X-Google-Thread: 10bb9b,6ed2fa6d9dc68732,start X-Google-Attributes: gid10bb9b,public X-Google-Thread: 115d3b,6ed2fa6d9dc68732,start X-Google-Attributes: gid115d3b,public From: "Professional" <professional@solutions.mv.com> Subject: Swing Graphics Object Whoas.... Date: 1999/09/08 Message-ID: <7r5kt1$qio$1@pyrite.mv.net> X-Deja-AN: 522505085 X-Priority: 3 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0018_01BEF9D3.64CC9F60" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@mv.com X-Trace: pyrite.mv.net 936793825 27224 207.22.38.29 (8 Sep 1999 12:30:25 GMT) Organization: MV Communications, Inc. X-MSMail-Priority: Normal Mime-Version: 1.0 Reply-To: "Professional" <professional@solutions.mv.com> NNTP-Posting-Date: 8 Sep 1999 12:30:25 GMT Newsgroups: borland.public.jbuilder.java.language,borland.public.jbuilder.java.swing,comp.lang.java.beans,comp.lang.java.corba,comp.lang.java.gui,comp.lang.java.machine,comp.lang.java.programmer,comp.lang.java.security,microsoft.public.java.visualj++