Can Anyone help me to resolve my problem with my code? Thanks
Type: Posts; User: byrne
Can Anyone help me to resolve my problem with my code? Thanks
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...
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...
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...
"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...
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...
Could I use "internal frames" to show the two images?
Thanks,
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...
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?
I want to use cursors keys not cursor it helps to understand what i want to say?
I want to use "cursors keys" it helps to resolve my problem?
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...
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
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...
I just put the java code between tags anybody can help me to resolve the problem with my program in java? Thanks
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...
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...
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>
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;