Search:

Type: Posts; User: Saiimon

Search: Search took 0.11 seconds.

  1. Replies
    6
    Views
    1,248

    [SOLVED] Re: Problem with a simple drawing program

    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...
  2. Replies
    6
    Views
    1,248

    [SOLVED] Re: Problem with a simple drawing program

    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();

    ...
  3. Replies
    6
    Views
    1,248

    [SOLVED] Re: Problem with a simple drawing program

    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...
  4. Replies
    6
    Views
    1,248

    [SOLVED] Problem with a simple drawing program

    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...
Results 1 to 4 of 4