I didn't succeed...
Type: Posts; User: DPaul1994
I didn't succeed...
Ok I'll try to do that..Thanks :) Please do not close this topic cause maybe I'll be back.
It also doesn't work ..
--- Update ---
But frame is set visible on true
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);
...
Aaaa no, this is the main code.
package joc;
import javax.swing.JFrame;
/**
*
* @author paul
*/
public class Joc {
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..
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;...