Search:

Type: Posts; User: DayzZombie

Search: Search took 0.09 seconds.

  1. Replies
    12
    Views
    1,005

    Re: Tell a java method to wait

    But the method is in an Event and you can't put an Event in an Event...
    Nvm I'm not explaining this correctly.
  2. Replies
    12
    Views
    1,005

    Re: Tell a java method to wait

    I don't want the whole game to wait I just want a method to be delayed for one second, so the object can drop and then get it's location.
  3. Tell java to do a something when timer ticks

    I created a tick class that ticks every second:

    package com.dayz.testmod;

    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;

    import javax.swing.Timer;

    public class...
  4. Replies
    12
    Views
    1,005

    Re: Tell a java method to wait

    Correction: I don't wan't the method to wait, I the method to be delayed. Sorry about that :/
  5. Replies
    12
    Views
    1,005

    Re: Tell a java method to wait

    It's actually a mod for Minecraft.
  6. Replies
    12
    Views
    1,005

    Re: Tell a java method to wait

    I want to to wait for an object to "drop". It takes about half a second for an Object to "Drop".
  7. Replies
    12
    Views
    1,005

    Tell a java method to wait

    I want to tell my java method to wait one second while something else is happening. Why not use Thread.sleep(x)? For me it stops the whole program and does not let that some else happen. Why not use...
  8. Replies
    3
    Views
    682

    Re: PrintStream Help!

    Yes that is the problem, and can you give me an example of the file append option? Thanks for the reply!
  9. Replies
    3
    Views
    682

    PrintStream Help!

    I want to create a simple console account application that allow's you to create accounts and the accounts will be save in a txt files. Code:
    package main;

    import static java.lang.System.out;
    ...
Results 1 to 9 of 9