Search:

Type: Posts; User: DPaul1994

Search: Search took 0.23 seconds.

  1. Replies
    12
    Views
    1,049

    Re: Code not working

    I didn't succeed...
  2. Replies
    12
    Views
    1,049

    Re: Code not working

    Ok I'll try to do that..Thanks :) Please do not close this topic cause maybe I'll be back.
  3. Replies
    12
    Views
    1,049

    Re: Code not working

    It also doesn't work ..

    --- Update ---

    But frame is set visible on true
  4. Replies
    12
    Views
    1,049

    Re: Code not working

    I don't think that I see what you mean..You mean like this?


    JFrame frame = new JFrame("Proiect Diacu Paul");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    ...
  5. Replies
    12
    Views
    1,049

    Re: Code not working

    Aaaa no, this is the main code.

    package joc;
    import javax.swing.JFrame;
    /**
    *
    * @author paul
    */
    public class Joc {
  6. Replies
    12
    Views
    1,049

    Re: Code not working

    I have to add @Override but is not working. I will try with Bindings then..
    It is working without adding @Override but the rect is not showing up..
  7. Replies
    12
    Views
    1,049

    Code not working

    Hi. I have made a code that should allowed me to move an object in a frame, using the arrow keys. But I don't know why, is not working. So I hope that you know what I did wrong.

    package joc;...
Results 1 to 7 of 7