<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
<blockquote
cite="mid:CA765D0D95A04D449667AFA14377899C47730893BB@MERCERMAIL.MercerU.local"
type="cite">
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
<div
style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 13px;">
<div style=""> Hey Dr. Pounds,<br>
<br>
I am finishing up my MercMan Lab and I am a little confused about
adjusting the line thickness. I looked online and saw that I am
supposed to have a "setThickness" in my program but I am not sure how
to put it in.<br>
<br>
<br>
</div>
</div>
</blockquote>
<br>
What you need is the setStroke method. In my code I call<br>
<br>
<font face="monospace">g2.setStroke(new BasicStroke(20));</font><br>
<br>
before I draw it with the call... <br>
<br>
<font face="monospace">Line2D.Double leftArm = new Line2D.Double( ....
arguments... )<br>
g2.draw(leftArm);<br>
</font><br>
then when I want to draw something "thicker" I do a <br>
<br>
<font face="monospace">g2.setStroke(new BasicStroke(40));</font><br>
<br>
before I draw it<br>
<br>
<br>
Let me know what other questions you have or what difficulties you are
experiencing.<br>
<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Andrew J. Pounds, Ph.D. (<a class="moz-txt-link-abbreviated" href="mailto:pounds@theochem.mercer.edu">pounds@theochem.mercer.edu</a>)
Associate Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
</pre>
</body>
</html>