Skip to main content

Animation framework for JXLayer

9 replies [Last post]
jacek
Offline
Joined: 2003-08-22

Any suggestions on what we could use for animation-based painting?

I know the Timing framework is dead ever since Chet left and the new version is rolled into Scenegraph...which no one can legally use at this moment, since it is pure GPL (without classpath exception).

Is there any other actively maintained framework that provides the functionality of the timing framework?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alexfromsun
Offline
Joined: 2005-09-05

Hello Jacek

TimingFramework on dev.java.net is quite powerful and stable

so I'd chose it if you need complicated animations

I also believe that SwingLabs guys will continue to support this project

For my jxlayer demos javax.swing.Timer is usually enough,

see LockableDemo.BusyPainterUI class

Thanks

alexp

jacek
Offline
Joined: 2003-08-22

Yes, I saw that, it was good to see all you needed was a Timer.

A suggestion: as part of JXLayer 3.1 it would be cool if you had an "extras" package with pre-implemented UIs (such as the busy painter in maybe a few different versions, etc.).

I am guessing it would spurn JXLayer adoption if there was a library of finished developed UIs to use out of the box, instead of the developers having to develop them themselves (too few or Java 2D experts or even have a flair for graphic design for that matter).

Just a suggestion :-)

alexfromsun
Offline
Joined: 2005-09-05

Hello Jacek

>A suggestion: as part of JXLayer 3.1 it would be cool if you had an "extras" package with
>pre-implemented UIs (such as the busy painter in maybe a few different versions, etc.).




I already have the extras package, org.jdesktop.jxlayer.plaf.ext with 5 ready to use UI delegates
like MouseScrollableUI, SpotLightUI etc...;
LockableUI is also ready to use, because

- not all developers need fancy effects for locked layer, so pure LockableUI may be enough

- I can't know what effect every developer is looking for

- it is very easy to extend LockableUI and have exactly what you need

but adding LockedLayerUI.setLockedEffect(LayerEffect) may be a good idea

Thanks

alexp

jacek
Offline
Joined: 2003-08-22

Yes please....thanks, Alex

alexfromsun
Offline
Joined: 2005-09-05

LockableUI.setLockedEffects() was added;

LockableUI extends BufferedLayerUI again

updated binaries uploaded to jxlayer.dev.java.net

Thanks

alexp

kirillcool
Offline
Joined: 2004-11-17

> which no one can legally use at this
> moment, since it is pure GPL (without classpath
> exception).

Not to be too dramatic, but GPL is a valid and very popular open-source license. You can't use it in a commercial app without opening your source to your *users*, but how do you get from there to "no one can legally use"?

jacek
Offline
Joined: 2003-08-22

OK, you can use it *only* if your app is under GPL.

But you cannot use it in a commercial app or an Apache 2.0 licensed app (such as mine)

kirillcool
Offline
Joined: 2004-11-17

> OK, you can use it *only* if your app is under GPL.
>
> But you cannot use it in a commercial app or an
> Apache 2.0 licensed app (such as mine)

Well, getting something for free has its limitations... You can always fork BSD-licensed TimingFramework, or step up and become its maintainer / developer.

jacek
Offline
Joined: 2003-08-22

If only the day had 30 hours...I could. :-)