Sorry... I will be watching tutorials and searching for more info about; JFrame, Javax.swing and Java API. My problem is that the program I'm trying to make is going to be my final project in my...
Type: Posts; User: Saiimon
Sorry... I will be watching tutorials and searching for more info about; JFrame, Javax.swing and Java API. My problem is that the program I'm trying to make is going to be my final project in my...
So i should write it like this instead?? Because it seems to work :)
public void mouseReleased(MouseEvent e) {
x_2 = e.getX();
y_2 = e.getY();
...
I have just tried to follow the designs that we're using in our books from school.
I didn't understand what you ment by call revalidate on the JFrame. I'm a beginner at this and all I have to my...
Hi!
I'm creating a program that is going to work as "paint". I have tried to make it possible to press/hold the mouse from one point and release it on another point.
Between these points I'm...