From: Qu0ll on
"Knute Johnson" <nospam(a)rabbitbrush.frazmtn.com> wrote in message
news:Ua4Un.10664$1Q5.6348(a)newsfe08.iad...
> On 6/22/2010 12:56 AM, Qu0ll wrote:
>> "Knute Johnson" <nospam(a)rabbitbrush.frazmtn.com> wrote in message
>> news:gKLTn.11903$hw5.8306(a)newsfe04.iad...
>>> On 6/20/2010 11:51 PM, Lixing wrote:
>>>> Hi,
>>>>
>>>> I have been googling this topic for a while, and cannot find anything
>>>> I want..
>>>>
>>>> basically, there are two suggestions on the web, first is JMF, but
>>>> Java has stopped supporting that for a long time, and it is not native
>>>> to Mac; the second is QuickTime for Java, unfortunately, it is
>>>> deprecated...
>>>>
>>>> Could you please give me some suggestions?
>>>>
>>>> Thanks a lot,
>>>> Lixing
>>>
>>> You are really stuck with JMF or you can wait for Java7 but that is
>>> going to take a long time for MAC.
>>
>> What makes you think Java 7 is going to offer video support for anything
>> other than JavaFX?
>
> That's been their claim for years. Maybe they won't now with FX.

Yes, but the latest word is that if you want video in a Java
application/applet you have to use FX. Oracle is pushing FX very hard to
the detriment of any further Swing/Java2D development which is a slap in the
face for many people, me included.

--
And loving it,

-Qu0ll (Rare, not extinct)
_________________________________________________
Qu0llSixFour(a)gmail.com
[Replace the "SixFour" with numbers to email me]

From: Knute Johnson on
On 6/23/2010 3:20 AM, Qu0ll wrote:
> "Knute Johnson" <nospam(a)rabbitbrush.frazmtn.com> wrote in message
> news:Ua4Un.10664$1Q5.6348(a)newsfe08.iad...
>> On 6/22/2010 12:56 AM, Qu0ll wrote:
>>> "Knute Johnson" <nospam(a)rabbitbrush.frazmtn.com> wrote in message
>>> news:gKLTn.11903$hw5.8306(a)newsfe04.iad...
>>>> On 6/20/2010 11:51 PM, Lixing wrote:
>>>>> Hi,
>>>>>
>>>>> I have been googling this topic for a while, and cannot find anything
>>>>> I want..
>>>>>
>>>>> basically, there are two suggestions on the web, first is JMF, but
>>>>> Java has stopped supporting that for a long time, and it is not native
>>>>> to Mac; the second is QuickTime for Java, unfortunately, it is
>>>>> deprecated...
>>>>>
>>>>> Could you please give me some suggestions?
>>>>>
>>>>> Thanks a lot,
>>>>> Lixing
>>>>
>>>> You are really stuck with JMF or you can wait for Java7 but that is
>>>> going to take a long time for MAC.
>>>
>>> What makes you think Java 7 is going to offer video support for anything
>>> other than JavaFX?
>>
>> That's been their claim for years. Maybe they won't now with FX.
>
> Yes, but the latest word is that if you want video in a Java
> application/applet you have to use FX. Oracle is pushing FX very hard to
> the detriment of any further Swing/Java2D development which is a slap in
> the face for many people, me included.
>

I looked at the JDK7 website just now and I don't see any new
audio/video API. I guess I'm going to have to learn how to use FX.

--

Knute Johnson
email s/nospam/knute2010/

From: markspace on
Knute Johnson wrote:

>
> I looked at the JDK7 website just now and I don't see any new
> audio/video API. I guess I'm going to have to learn how to use FX.
>


Actually, you can just use the JavaFX classes directly in your Java
programs. They're just regular old Java classes. Sometimes the
arguments or results are a little weird: to be "friendly" JavaFX script
does a lot of autoboxing and type-conversion automatically, and JavaFX
classes tend to use Number and Lists of Objects a lot, iirc, but that's
not a serious impediment to working with them.

From: Knute Johnson on
On 6/23/2010 10:20 AM, markspace wrote:
> Knute Johnson wrote:
>
>>
>> I looked at the JDK7 website just now and I don't see any new
>> audio/video API. I guess I'm going to have to learn how to use FX.
>>
>
>
> Actually, you can just use the JavaFX classes directly in your Java
> programs. They're just regular old Java classes. Sometimes the arguments
> or results are a little weird: to be "friendly" JavaFX script does a lot
> of autoboxing and type-conversion automatically, and JavaFX classes tend
> to use Number and Lists of Objects a lot, iirc, but that's not a serious
> impediment to working with them.
>

Thanks. I looked at it early on but it wasn't clear to me how to
actually use it in a Java program. I think I need FX for dummies to get
started :-).

--

Knute Johnson
email s/nospam/knute2010/

From: markspace on
Knute Johnson wrote:

> Thanks. I looked at it early on but it wasn't clear to me how to
> actually use it in a Java program. I think I need FX for dummies to get
> started :-).
>

This is the book I have, it does cover using JavaFX classes with Java SE:

<http://www.amazon.com/JavaFX-Developing-Rich-Internet-Applications/dp/013701287X>


I'll try to put together a quick example later....