File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes KeyListener Refreshing problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "KeyListener Refreshing problem" Watch "KeyListener Refreshing problem" New topic
Author

KeyListener Refreshing problem

Steven Joost
Greenhorn

Joined: Sep 29, 2012
Posts: 28
Hello,

In my latest project, I've a problem with a KeyListener.

How can I prevent, that the player figure does not cross the crops, without disabling the whole KeyListener?

Because this is a connection of many classes I uploaded the complete .java - list

At: http://www.mediafire.com/?ifdo3xe7euwh2kr

Don't worry, it's no virus

Starting class is : Display.java
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3646
    
  15
Steven Joost wrote:Don't worry, it's no virus

That's okay then. As long as a complete stranger has assured me that it's okay to click a link, I'm happy to click it.

Seriously though, you will get a lot more help if you create a SSCCE that demonstrates your problem and post the code for that and a clear explanation of what is happening and what should be happening.

Joanne
Steven Joost
Greenhorn

Joined: Sep 29, 2012
Posts: 28
You mean posting 18*200 lines?
And how should I print the image here?
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 8008
    
  22

Steven Joost wrote:You mean posting 18*200 lines?

No, she means an SSCCE. I suggest you read the link.

Winston

Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Steven Joost
Greenhorn

Joined: Sep 29, 2012
Posts: 28
Too much unknown words, need a german translation , has one of you downloaded, and checked the file?
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 8008
    
  22

Steven Joost wrote:Too much unknown words, need a german translation , has one of you downloaded, and checked the file?

Sorry Steven. This is your problem, not ours; and one of the rules here is that you ShowSomeEffort.

Winston
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: KeyListener Refreshing problem