Search:

Type: Posts; User: Kamrava

Search: Search took 0.26 seconds.

  1. Which protocol this simple chat application is using?

    Which protocol this simple chat application is using?
    TCP or UDP?

    Server.java

    import java.io.*;
    import java.net.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
  2. Replies
    6
    Views
    931

    Re: My first Java 2D Game won't work

    Thank you. I found it, the problem was right there :


    public void toggleKey(int keyCode, boolean isPressed) {
    if (keyCode == KeyEvent.VK_W) {
    up.toggle(true);
    }
    if (keyCode ==...
  3. Replies
    6
    Views
    931

    Re: My first Java 2D Game won't work

    I mean it does not have any syntax errors. It runs without any problems. But when the screen shows up it must move through W,A,S,D keys but won't work.
    I can't explain more... :(
  4. Replies
    6
    Views
    931

    Re: My first Java 2D Game won't work

    It run successfully. There is a logical problem
  5. Replies
    6
    Views
    931

    My first Java 2D Game won't work

    Hi there.

    I'm new on java.

    I'm following Zephyr Java 2D Game video tutorials on youtube.

    Problem :

    It should move the screen when i pressing W,A,S,D keys, but won't work. Please have look...
Results 1 to 5 of 5