Search:

Type: Posts; User: byrne

Search: Search took 0.32 seconds.

  1. Replies
    4
    Views
    1,186

    Re: I have a problem with my code of a simple game

    Can Anyone help me to resolve my problem with my code? Thanks
  2. Replies
    4
    Views
    1,186

    Re: I have a problem with my code of a simple game

    I don't receive error messages but the program doesn`t do that I want.

    I want when the image is clicked it must be advance a pixels inside the frame but the image don't do anything when I click...
  3. Replies
    4
    Views
    1,186

    I have a problem with my code of a simple game

    Hello!

    I try to do a image in a frame to advance a few pixels to click the image

    The problem comes to add the image in a label and I try to call the label in a method addMouseListener() and...
  4. Re: I tried to do something with this code but I can't get it

    Hello,

    I Change and I define what I want with my program:

    Its very long to explain and I will say you smalls details.

    I have done in the program rectangles appear with random in columns of...
  5. Re: I tried to do something with this code but I can't get it

    "Have a class that associates that rectangle and its position with the image drawn at that location" you said, Norm


    Why must I create a new class? I only use the class "Ejemplo.class" (in this...
  6. Re: I tried to do something with this code but I can't get it

    I tried to do you said me but I couldn't get anything important.....
    My main problem is I tried to introduce a image in rectangule but I couldnīt get it because de method DrawRect() doesn't have a...
  7. Re: I tried to do something with this code but I can't get it

    Could I use "internal frames" to show the two images?

    Thanks,
  8. Re: I tried to do something with this code but I can't get it

    I want to use "the arrow keys" to move first a image and next, the second image , not "the cursors keys".Sorry my english is not very good. I use "the arrow keys" to move the two images...
  9. Re: I tried to do something with this code but I can't get it

    I want to say "cursor keys" not cursor, I want to use "cursor keys" to move the image are we near to resolve the problem?
  10. Re: I tried to do something with this code but I can't get it

    I want to use cursors keys not cursor it helps to understand what i want to say?
  11. Re: I tried to do something with this code but I can't get it

    I want to use "cursors keys" it helps to resolve my problem?
  12. Re: I tried to do something with this code but I can't get it

    Do you want to change what controls the image movement to be the mouse click or motion instead of the pressing of a key? I only want to use the cursors.
    Or do you want to use the same keys but have...
  13. Re: I tried to do something with this code but I can't get it

    I want to use the same controls the cursor first move first image with the cursor and next to use the same keys, the cursors to move the second image
  14. Re: I tried to do something with this code but I can't get it

    This code works now



    import java.awt.Frame;
    import java.awt.Graphics;
    import java.awt.event.KeyEvent;
    import java.awt.event.KeyListener;
    import java.awt.event.WindowAdapter;
    import...
  15. Re: I tried to do something with this code but I can't get it

    I just put the java code between tags anybody can help me to resolve the problem with my program in java? Thanks
  16. I tried to do something with this code but I can't get it

    I try that a image to move with a cursors and i would to get to pass something like a focus that another image to move with a cursors next to move with a cursors the first image. Now I only have got...
  17. Replies
    5
    Views
    1,807

    Re: I have a problem with my code I think

    Thanks I didnīt realise the program starts with the class frame not applet class, how you should suppose I am still a beginner in program in java and i don't still realise sometimes with this kinds...
  18. Replies
    5
    Views
    1,807

    Re: I have a problem with my code I think

    This is the code where I have put the applet, it is a htm archive which the name is: Ejemploprueba.htm


    the code is:


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    <html>
  19. Replies
    5
    Views
    1,807

    I have a problem with my code I think

    I don't know what happend with my code

    It is:



    import java.awt.Frame;
    import java.awt.Graphics;
    import java.awt.event.KeyEvent;
    import java.awt.event.KeyListener;
Results 1 to 19 of 19