Skip to main content

A JXCoverFlowList? (it was Twinkle...)

14 replies [Last post]
Anonymous

Guys and gals,

I'm finishing an article about the implementation of a "cover-flow"
like renderer for NetBeans RCP (here a screenshot to understand what
I'm talking about: https://openbluesky.dev.java.net/Screenshots/
CoverFlow1.jpg). Now I'd like to start thinking of what happens after
the article is published.

The thing could be refactored with some work to become a Swing
component (e.g. a JXCoverFlowList). Some questions about this:

1. is somebody working on a similar component? I'd like to avoid
duplicating efforts
2. would it be something that fits to SwingX? It is based on JOGL
stuff, and AFAIK there is no JOGL inside SwingX, so I'm wondering
whether it's out of scope.

Another question:

3. The code is based on the Twinkle demo by Romain, Chris Campbell et
al. (circa 2005). In particular, the JOGL code is 70-80% the original
one (Renderable, Quad, etc... - I really understand just a few about
JOGL so without that code I'd been lost :-) with just some
refactoring and extension. The other code started from the Twinkle
demo, but it has been dramatically changed for generic purposes (i.e.
providing generic contents and generic animations, including the
cover-flow one). Is anybody mantaining that code? Again, I'd like to
avoid duplicating efforts and those Quads can be really used for a
high performance image viewer/editor (e.g. supporting fast
rotations), a slideshow module (thing e.g. of the Leopard "photo
stack" screensaver) etc so I'm going to use them a lot in future.

Let's talk about it.

--
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941

[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Fabrizio Giudici

Fabrizio Giudici wrote:
> jdnc-interest@javadesktop.org wrote:
>> I'm wondering if you have updated this code to work with regular
>> ListModels. If not, I would be interested in taking on that
>> project. Where is your code located?
>>
>> I suppose I could start with the OpenSky stuff, but if you have
>> already done some work to extract it, I'd hate to duplicate your effort.
>>
>> Let me know how I can help.
>>
>> Steve
>
> Hi Steve.
>
> It's no more in OpenBlueSky, it has been moved to PlatformX (extension
> of the platform for NetBeans). See platformx.netbeans.org for
> instructions about how to check out, etc...
>
> BTW, I've temporarily paused the development in wait for JavaFX; some
> of the new JavaFX stuff should / could be accessible from Java too (I
> mean: I think everything will be accessible from Java, but some API
> could be not officially published) and I'd like to see whether it's
> possible to reuse the 3D stuff, instead of maintaining my own Simple3D
> module.
>
> In any case, any help is well accepted. If you're willing to port it
> to regular ListModels, we could think of moving the code to SwingX (or
> to another FOSS Swing project) and then I write back the adapter for
> NetBeans. I'd only wait for December 2, if you aren't in a great
> hurry, for that 3D point.
>
>
This is a pretty old post, but today I've seen a post from Joshua (I
don't remember in which forum) asserting that SceneGraph Java APIs are
not stable and we should not depend on them. Plus, my addition, they are
still GPL without CPE - I figured that after the JavaFX official release
a CPE would have been added, but it doesn't seem the case.

Summing up, at this point it makes sense to have another implementation
of JXCoverFlowList and generally speaking some APIs for JOGL animations
in Swing components. If people are still interested, I could contribute
my part.

Let me know.

--
f.g.

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net

sikoj
Offline
Joined: 2008-04-09

Hello.

I have just started to read a project course in Mechatronics and I'm currntley looking after som Java code for handling the GUI. The vision is to have a "Coverflow" functinallity to display the different options to the user.
The direction of the course is inbedded systems so the idea is to use a laptop ,that communicates with our control unit, for displaying the options.

My knowledge in Java is limited I appriciate all the help I can get!

Best Regards
Simon

Fabrizio Giudici

Hello. I've done a component like that some time ago, it works but it
depends on NetBeans RCP lists. It requires some work for being adapted
to work with regular ListModels. I remember that Daniele Dellafiore
expressed interest in this mailing list about it a few months ago, but
then we didn't discuss any longer about it. Unfortunately at the
moment I don't have time to do that myself.

On Apr 9, 2008, at 11:23 , jdnc-interest@javadesktop.org wrote:
> Hello.
>
> I have just started to read a project course in Mechatronics and I'm
> currntley looking after som Java code for handling the GUI. The
> vision is to have a "Coverflow" functinallity to display the
> different options to the user.
> The direction of the course is inbedded systems so the idea is to
> use a laptop ,that communicates with our control unit, for
> displaying the options.
>
> My knowledge in Java is limited I appriciate all the help I can get!
>
> Best Regards
> Simon
> [Message sent by forum member 'sikoj' (sikoj)]
>
> http://forums.java.net/jive/thread.jspa?messageID=268298
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
> For additional commands, e-mail: jdnc-help@jdnc.dev.java.net
>
>

--
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net

stenew
Offline
Joined: 2003-08-21

I'm wondering if you have updated this code to work with regular ListModels. If not, I would be interested in taking on that project. Where is your code located?

I suppose I could start with the OpenSky stuff, but if you have already done some work to extract it, I'd hate to duplicate your effort.

Let me know how I can help.

Steve

Fabrizio Giudici

jdnc-interest@javadesktop.org wrote:
> I'm wondering if you have updated this code to work with regular ListModels. If not, I would be interested in taking on that project. Where is your code located?
>
> I suppose I could start with the OpenSky stuff, but if you have already done some work to extract it, I'd hate to duplicate your effort.
>
> Let me know how I can help.
>
> Steve

Hi Steve.

It's no more in OpenBlueSky, it has been moved to PlatformX (extension
of the platform for NetBeans). See platformx.netbeans.org for
instructions about how to check out, etc...

BTW, I've temporarily paused the development in wait for JavaFX; some of
the new JavaFX stuff should / could be accessible from Java too (I mean:
I think everything will be accessible from Java, but some API could be
not officially published) and I'd like to see whether it's possible to
reuse the 3D stuff, instead of maintaining my own Simple3D module.

In any case, any help is well accepted. If you're willing to port it to
regular ListModels, we could think of moving the code to SwingX (or to
another FOSS Swing project) and then I write back the adapter for
NetBeans. I'd only wait for December 2, if you aren't in a great hurry,
for that 3D point.

--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net

rah003
Offline
Joined: 2004-05-26

> regular ListModels, we could think of moving the code to SwingX (or to
> another FOSS Swing project) and then I write back the adapter for

I would be very happy to see this appear in SwingX (speaking for myself this time, but I would be certainly willing to advocate the inclusion in the discussions with other committers). You can start your work on the port in the incubator and once everything is ready we can put it on the main branch of the swingx.

ildella
Offline
Joined: 2003-06-10

Well, I just asked and obtained by Romain the "right" to open a new project based on the slideshow, or cover flow... the twinkle code inside aerith project. I have already integrated in my app but I want to create a standalone project and make it useful for real world.

Our intentions are similar but I am not interested in building a netbeans module. I have checked out openbluesky and it does not compile. Now I get netbeans 6 and the openide libraries and I will see.
I will be glad to contribute to openblusky but I will need to produce a version that does not mess in any way with the netbeans stuff, so I hope I can just pick openide jars and package them in my app without any license problems...

So, finally, what I can do for the project is using it and provide feedback and create some building system that produce a no-netbeans packaged version of the code, even just some portions of the code. Maybe I can also contribute some code but I am not very smart in image manipulation :)

ildella
Offline
Joined: 2003-06-10

Ok I had a look at the code and made some thoughts.
My idea, shared with Romain, was to create a standalon slideshow component (or cover flow, or whatever).

I already have an isolated project and the code is the one from aerith/twinkle, with just the remove function in addiction :)

I am having some problems loading more than 4 images. The PictureViewer component need to take care of caching, background loading, memory clenaup and stuff like those to be a real usable component.

Now, is your code an enhancement in what way?
I can start refactoring yours, isolating it in a separate project that just depends upon jogl and swingx. I do not think is important to decide now if it has to go under swing-x umbrella or not... we will see in time :)

Tell me if you have some advice. I need a slideshow component that is usable and I want to open source to get the help of community during development. If I can use your code which is already in a more advanced state of development than aerith, it would be better. I can create the project with that code and then openbluesky can rely on that new component.

See you.

Fabrizio Giudici

Sorry for the late reply, but you definitely choose the worst timing
ever :-) JavaPolis + driving back home + some days at customers'
sites without email connection, the result is 1500+ messages that
I've consuming with some frustration :-)

In any case, my points:

1. I'm interested in _having_ a CoverFlowList in blueMarine, not
necesarily in developing it - more, if somebody else develops it, I'm
happier :-)
2. fine if you do it in pure Swing, I'll write and maintain a
NetBeans RCP adapter
3. I'm interested in the slideshow thing too :-) because I had just
started writing some code for it. Actually, my component has a
pluggable behaviour for what concerns the positions and sizes of
textures (even though that part should be improved). Basically I
think that with a few LOCs it could be implemented e.g. the new
slideshow in Leopard (the one where photos seems to fall on a table
rotating).
4. My only requirements are that textures can be updated at any time
(since blueMarine could update them any time, and moreover because of
the new "pyramidal" approach for thumbnails.

See you later.

On Dec 11, 2007, at 23:24 , jdnc-interest@javadesktop.org wrote:

> Ok I had a look at the code and made some thoughts.
> My idea, shared with Romain, was to create a standalon slideshow
> component (or cover flow, or whatever).
>
> I already have an isolated project and the code is the one from
> aerith/twinkle, with just the remove function in addiction :)
>
> I am having some problems loading more than 4 images. The
> PictureViewer component need to take care of caching, background
> loading, memory clenaup and stuff like those to be a real usable
> component.
>
> Now, is your code an enhancement in what way?
> I can start refactoring yours, isolating it in a separate project
> that just depends upon jogl and swingx. I do not think is important
> to decide now if it has to go under swing-x umbrella or not... we
> will see in time :)
>
> Tell me if you have some advice. I need a slideshow component that
> is usable and I want to open source to get the help of community
> during development. If I can use your code which is already in a
> more advanced state of development than aerith, it would be better.
> I can create the project with that code and then openbluesky can
> rely on that new component.
>
> See you.
> [Message sent by forum member 'ildella' (ildella)]
>
> http://forums.java.net/jive/thread.jspa?messageID=249601
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
> For additional commands, e-mail: jdnc-help@jdnc.dev.java.net
>
>

--
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941

[att1.html]

ildella
Offline
Joined: 2003-06-10

> 1. I'm interested in _having_ a CoverFlowList in
> blueMarine, not
> necesarily in developing it - more, if somebody else
> develops it, I'm
> happier :-)

Well, I can do. I can start from your code that is already refactored and use it. I can open the project in few days.

> 2. fine if you do it in pure Swing, I'll write and
> maintain a
> NetBeans RCP adapter

Just remains the openide dependency problem. It is not that deep, I think that it should be removed but they could be useful. What is your opinion?

> 3. I'm interested in the slideshow thing too :-)
> because I had just
> started writing some code for it. Actually, my
> component has a
> pluggable behaviour for what concerns the positions
> and sizes of
> textures (even though that part should be improved).
> Basically I
> think that with a few LOCs it could be implemented
> e.g. the new
> slideshow in Leopard (the one where photos seems to
> fall on a table
> rotating).

Well, I had a look at scenegraph project last days and it seems really interesting in the way it standardize and consolodidate the development of effects, animation, transictions and such in swing development, with many other benefits.
I am wondering this: the JXCoverFlow is based on OGL so it could not take the advantage of that scenegraph. I think that it is better to develop such an advanced component working on OGL cause it is real 3D, it will be much easier to implement effects like imagese that goes away getting smaller and such.

Again, what is your opinion? Implementing a slideshow now, with all the stuff in scenegraph could be easy, don't you think?

Fabrizio Giudici

On Dec 19, 2007, at 18:24 , jdnc-interest@javadesktop.org wrote:

>> 1. I'm interested in _having_ a CoverFlowList in
>> blueMarine, not
>> necesarily in developing it - more, if somebody else
>> develops it, I'm
>> happier :-)
>
> Well, I can do. I can start from your code that is already
> refactored and use it. I can open the project in few days.
>
>> 2. fine if you do it in pure Swing, I'll write and
>> maintain a
>> NetBeans RCP adapter
>
> Just remains the openide dependency problem. It is not that deep, I
> think that it should be removed but they could be useful. What is
> your opinion?

We remove it of course. Just give me a couple of days more and I'll
be here with details.

>
>> 3. I'm interested in the slideshow thing too :-)
>> because I had just
>> started writing some code for it. Actually, my
>> component has a
>> pluggable behaviour for what concerns the positions
>> and sizes of
>> textures (even though that part should be improved).
>> Basically I
>> think that with a few LOCs it could be implemented
>> e.g. the new
>> slideshow in Leopard (the one where photos seems to
>> fall on a table
>> rotating).
>
> Well, I had a look at scenegraph project last days and it seems
> really interesting in the way it standardize and consolodidate the
> development of effects, animation, transictions and such in swing
> development, with many other benefits.
> I am wondering this: the JXCoverFlow is based on OGL so it could
> not take the advantage of that scenegraph. I think that it is
> better to develop such an advanced component working on OGL cause
> it is real 3D, it will be much easier to implement effects like
> imagese that goes away getting smaller and such.
>
> Again, what is your opinion? Implementing a slideshow now, with all
> the stuff in scenegraph could be easy, don't you think?

Absolutely. But SceneGraph is not yet supporting 3D AFAIK, so it
depends on the kind of slideshow you need. Chet told us that
SceneGraph will be supporting 3D eventually, but there are not yet
release dates. Also, at the moment SceneGraph is GPL WITHOUT
classpath exception, so it can't be basically used for anything
practical. My suggestion is: let's keep on using refactored Twinkle
JOGL code for our needs, let's keep an eye focused on SceneGraph. Of
course Sun people is opened as usual, so we can provide them with
some feedback, and plan for incrementally throwing away our JOGL code
as soon as SceneGraph provides useful replacements.

> [Message sent by forum member 'ildella' (ildella)]
>
> http://forums.java.net/jive/thread.jspa?messageID=250801
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
> For additional commands, e-mail: jdnc-help@jdnc.dev.java.net
>
>

--
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941

[att1.html]

marcos_luiz
Offline
Joined: 2006-09-06

I'm just looking for a component like this. Could you please provide a link to download it?

BTW, I tried to see the screenshot but it seems the page was removed.

Thanks!

Fabrizio Giudici

On Nov 28, 2007, at 19:17 , jdnc-interest@javadesktop.org wrote:

> I'm just looking for a component like this. Could you please
> provide a link to download it?
>
> BTW, I tried to see the screenshot but it seems the page was removed.
>
>
> Thanks!
> [Message sent by forum member 'marcos_luiz' (marcos_luiz)]

svn co https://openbluesky.dev.java.net/svn/openbluesky/trunk/src

The modules you need are

Libraries/jogl
Libraries/gluegen
OpenBlueSky/Simple3D
OpenBlueSky/FlowView

Simple3D is a plain Swing stuff even if it's a NetBeans RCP project
(it produces a it-tidalwave-swing-simple3d.jar that can be just added
to the classpath).

FlowView instead depends on NetBeans RCP. To use it with plain swing
a few work is needed, most notably replacing the RCP model (based no
Node) with a ListModel (then the RCP version can be retrofitted with
an adapter). I'd like to do that, but really I can't before Xmas (I'm
in the final rush for JavaPolis too). If anybody wants to contribute,
(s)he's welcome.

--
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941

[att1.html]

Joshua Marinacci

This looks really cool. I greatly encourage you to continue working
on it.
The code for Aerith is not being maintained. Other than to fix some
API changes between Java6 betas and Java6 final (and the map viewer)
we haven't updated it and don't plan it. It was only ever intended to
be an example of what you can do with desktop Java. Feel free to take
the code and do cool things with it.

- J

On Nov 20, 2007, at 3:32 AM, Fabrizio Giudici wrote:

> Guys and gals,
>
> I'm finishing an article about the implementation of a "cover-flow"
> like renderer for NetBeans RCP (here a screenshot to understand
> what I'm talking about: https://openbluesky.dev.java.net/
> Screenshots/CoverFlow1.jpg). Now I'd like to start thinking of what
> happens after the article is published.
>
> The thing could be refactored with some work to become a Swing
> component (e.g. a JXCoverFlowList). Some questions about this:
>
> 1. is somebody working on a similar component? I'd like to avoid
> duplicating efforts
> 2. would it be something that fits to SwingX? It is based on JOGL
> stuff, and AFAIK there is no JOGL inside SwingX, so I'm wondering
> whether it's out of scope.
>
> Another question:
>
> 3. The code is based on the Twinkle demo by Romain, Chris Campbell
> et al. (circa 2005). In particular, the JOGL code is 70-80% the
> original one (Renderable, Quad, etc... - I really understand just a
> few about JOGL so without that code I'd been lost :-) with just
> some refactoring and extension. The other code started from the
> Twinkle demo, but it has been dramatically changed for generic
> purposes (i.e. providing generic contents and generic animations,
> including the cover-flow one). Is anybody mantaining that code?
> Again, I'd like to avoid duplicating efforts and those Quads can be
> really used for a high performance image viewer/editor (e.g.
> supporting fast rotations), a slideshow module (thing e.g. of the
> Leopard "photo stack" screensaver) etc so I'm going to use them a
> lot in future.
>
> Let's talk about it.
>
> --
> Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
> Tidalwave s.a.s. - "We make Java work. Everywhere."
> weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
> Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941
>
>

[att1.html]