- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
/**
* @see ru.dwin.inbox.gtk.videotypes.IVideo#startPlay(int)
*/
@Override public void startPlay(int delay)
{
try
{
Thread.sleep(delay * 1000);
}
catch (InterruptedException e1)
{
RestartAllThreads();
}
if (theTimer == null)
{
theTimer = new Timer(ASECOND, new ActionListener()
{
@Override public void actionPerformed(ActionEvent e)
{
if (elapsedTime >= getDuration())
{
theTimer.stop();
resetPlay();
Toolkit.getDefaultToolkit().beep();
}
else
{
elapsedTime += (int) ASECOND / 1000;
notifyAddedRenderers(USwingWorker.ALL);
}
}
});
}
else
{
theTimer.start();
}
}
SmackMyBitchUp 03.11.2011 13:36 # 0
Lure Of Chaos 03.11.2011 15:13 # 0
absolut 04.11.2011 21:48 # −6
Lure Of Chaos 04.11.2011 21:50 # 0
jabber 07.11.2011 00:22 # −7
guest8 09.04.2019 11:54 # −999