How do I display a line in a Java GUI?

前端 未结 2 374
感动是毒
感动是毒 2021-01-27 06:48

I would like to draw a line between 2 images in Java swing.

I have found different ways of drawing lines but none the way that I want to which makes me think maybe I jus

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-27 07:07

    just invoke the method drawLine() and insert the parameters for the position :)

提交回复
热议问题