Also, does the OP want the values of the points to be displayed on the screen or the points themselves, or both?
I mean, does he/she want:
ex.
1.) Point 1: x = 100 y = 200
Point 2 : x =...
Type: Posts; User: javapenguin
Also, does the OP want the values of the points to be displayed on the screen or the points themselves, or both?
I mean, does he/she want:
ex.
1.) Point 1: x = 100 y = 200
Point 2 : x =...
What's wrong with my post? I wasn't wrong about the MouseListener, the fact that there is no setX() or setY() in the Point class, or, as far as I know, that \ is an escape character.
This is probably not it but why do you have // twice in there?
er("E:\\app\\data.txt"))
Also, I think that \ is an escape character.
Are you sure you didn't mean
"E:/app/data.txt"