I am trying to learn Java 2D. I need an example to get me started. Could someone provide me a working example of a JFrame with a line. This is all i need. I have looked at many tutorials and am trying to get started.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)