how do i draw a dotted straight line on an applet.
ravi vardhin
Ranch Hand
Joined: Jun 04, 2001
Posts: 37
posted
0
how do i draw a dotted straight line on an applet. can some one give the logic.. Thanks and regards, ravi
Manfred Leonhardt
Ranch Hand
Joined: Jan 09, 2001
Posts: 1492
posted
0
Hi Ravi, Try the following code.
Regards, Manfred.
Amit Agarwal
Ranch Hand
Joined: May 09, 2001
Posts: 92
posted
0
Hi ravi, if you are running your applet thru the java plugin, you can use the BasicStroke class of the java2D api. it is available in the java.awt.geom package. Usage: