SHARE
TWEET

Untitled

a guest Mar 25th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -------------------------------------------------------------------------------------------------------------------------------------------------
  2.  
  3.  import javax.swing.Japplet;
  4.  
  5.     public class "dźwięk" extends JApplet {
  6.         public void start () {
  7.             play (getDocumentBase (), "Nazwa pliku.format");
  8.                 }
  9.     }
  10.  
  11. -------------------------------------------------------------------------------------------------------------------------------------------------
  12.  
  13.  import java.applet.*;
  14.  
  15.     public class "dźwięk" extends JApplet {
  16.     AudioClip "Nazwa"; 
  17.     public void init {
  18.         "Nazwa" = getAudioClip (getDocumentBase (), "Nazwa pliku.format");
  19.     }
  20.    
  21.     public void start (){
  22.     "Nazwa".loop ();
  23.     }
  24.  
  25.     public void stop (){
  26.     "Nazwa".stop ();
  27.     }
  28. }  
  29.  
  30. -------------------------------------------------------------------------------------------------------------------------------------------------
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top