[394] in java-interest

home help back first fref pref prev next nref lref last post

No subject found in mail header

daemon@ATHENA.MIT.EDU (avramov@bimacs.cs.biu.ac.il)
Mon Jun 19 18:47:17 1995

Date: Mon, 19 Jun 1995 22:25:01 +0300
From: avramov@bimacs.cs.biu.ac.il
To: java-interest@java.sun.com

 Hello, ppl !
I'm trying to change the status line on depending what happens.
Here is the source:

    public void mouseDown(int x, int y)
    {
        if (in(x, y, 22, 107, 30, 114))
        { 
          drawRedButton = true;
          repaint();

          statusString = "Silence in the studio, please !";//doesn't works !
          showStatus(statusString);                       // doesn't works !

          kicker.resume();
          play("ohyeah.au");    // !!!!!!!
          kicker.sleep(4000);

          kicker.suspend();

          drawRedButton = false;
          repaint();

          statusString = "Press the left radio button to activate it.";
          showStatus(statusString);
        } 
    }

During the playing the status line just cleans well and nothing
is written. After the playing "Press the left..." draws excelently (!).
I've tried to put the pare of non-working lines into different places,
but it doesn't helps - maximum nothing is happend (even the status line 
cleaning) Could somebody point me out on my error ?

And something else: sometimes instead of clean sound I hear
                    something like "h-hhh-hh" and a silence
                    after that. But it only sometimes ...
                    Do I use the "play()" command right enough ???

                       Thanx in advance

                          Alex
                            avramov@132.70.1.6
                            http://132.70.1.6:8080/~avramov/my.html
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post