This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 132155 - Threading
Summary: Threading
Status: VERIFIED INVALID
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-07 06:45 UTC by jjjjjj
Modified: 2009-07-17 08:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jjjjjj 2008-04-07 06:45:31 UTC
Been trying to play an mp3 during startup; I've looked at both jmf (only plays video files) and jl1.0 (stalls program
during playback); to get past stalling I tried to create a class that extends Thread - when calling the start method the
compiler falls over; so tried operation and super.start() on it - no playback. do later just stalls as well so it still
runs on the main thread! 

So can we please get proper multi threading - (either do later must do properly or we must be able to use super methods
on a class that extends, e.g. Thread.start();) - so stuff runs on their own thread and not on the main thread; the only
solution I can think now is to wrap jl1.0 into a new jar that does this and use that jar from the FX script; as I
noticed video playback once started appears to be doing that.

Also I find the script language tedious; there's too many invariants and new keywords to the original java syntax making
it hard to work with when moving between fx and other code.
Comment 1 Martin Ryzl 2008-04-07 10:04:28 UTC
This looks more like a feedback on the language rather than on the NetBeans plugins. The only thing we can do is to
follow the specification. I add people from the compiler team on cc, leaving this issue opened for some time for
tracking purposes.
Comment 2 Andrey Yamkovoy 2008-04-23 10:21:00 UTC
Since this is not a plugin issue I am closing it.
Comment 3 Alexandr Scherbatiy 2008-04-23 11:36:52 UTC
Reprise has JMC library