Search:

Type: Posts; User: DPaul1994

Search: Search took 0.17 seconds.

  1. How can I rotate an image using arrow keys?

    I have an image and I want that when I press the left arrow, image turns to the left. In methods that are already created (up, down), you don't have to hold the button to turn around or for...
  2. Replies
    12
    Views
    19

    Re: Code not working

    I didn't succeed...
  3. Replies
    12
    Views
    19

    Re: Code not working

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

    Re: Code not working

    It also doesn't work ..

    --- Update ---

    But frame is set visible on true
  5. Replies
    12
    Views
    19

    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);
    ...
  6. Replies
    12
    Views
    19

    Re: Code not working

    Aaaa no, this is the main code.

    package joc;
    import javax.swing.JFrame;
    /**
    *
    * @author paul
    */
    public class Joc {
  7. Replies
    12
    Views
    19

    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..
  8. Replies
    12
    Views
    19

    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;...
  9. Thread: Hello

    by DPaul1994
    Replies
    1
    Views
    10

    Hello

    Hello all. My name is Paul and I am 19 years old. I am freshman in computer science and what I'm passionate about programming and technology. I joined to this forum hoping that I will learn more...
Results 1 to 9 of 9