Re: drawing arrows...



In article <1120049738.356987.83100@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"MacRules" <dodeca001@xxxxxxx> wrote:

> I'm a newcomer to Java programming. I need to draw some arrows in a
> window. Drawing lines is no problem, but I don't see an arrow-drawing
> capability in the Graphics2D class. It seems that this would be a
> common need - anyone ever see any publicly available classes with this
> capability?
>
> TIA,
> Steve

If nothing better comes along, you might look at fillArc. This is
especially easy if you already know the angle of the line.

--
John
jmatthews at wright dot edu
www dot wright dot edu/~john.matthews/
.



Relevant Pages

  • drawing arrows...
    ... window. ... Drawing lines is no problem, but I don't see an arrow-drawing ... capability in the Graphics2D class. ...
    (comp.lang.java.help)
  • Restoring window width in Applesoft
    ... Turning to the excellent FAQ ... I find the familiar incantation ... this leaves the window width set to 33. ... jmatthews at wright dot edu ...
    (comp.sys.apple2.programmer)
  • Re: Poke to prevent scrolling?
    ... You can narrow the scrolling text window to a single line by ... jmatthews at wright dot edu ...
    (comp.sys.apple2.programmer)