 |
Scenario Webstart Extension
Posted by idk on February 08, 2008 at 08:37 PM | Comments (4)
Scenario version 0.5 is out. For the list of features and enhancements
check out Hans's
announcement
here.
One of the things we have done for this and will do for future
releases is to provide a webstart extension for Scenario binaries.
Using the extension allows for simpler deployment for webstart
enabled applications which use Scenario. Instead of hosting Scenario
binaries on your website you can reference them using
extension tag in resources section of you
jnlp file. The extension for release 0.5 is available
here:
http://download.java.net/javadesktop/scenario/releases/0.5/Scenario-0.5.jnlp.
Take this demo for example:
(Note: java 6 is required to run it)
Here is jnlp file for this demo:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="http://download.java.net/javadesktop/blogs/idk/02.08.2008" href="movie.jnlp">
<information>
<title>Countdown Film Demo</title>
<vendor>Sun Microsystems, Inc.</vendor>
<offline-allowed />
</information>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
<extension name="Scenario-0.5"
href="http://download.java.net/javadesktop/scenario/releases/0.5/Scenario-0.5.jnlp"/>
<jar href="movie.jar" />
</resources>
<application-desc main-class="demo.movie.Movie"/>
</jnlp>
Resources
The sources for the demo are available
here
or in the scenario-demos repository
here.
Bookmark blog post: del.icio.us Digg DZone Furl Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment
-
Scenario is really cool !
- Michael Knyazev
Posted by: knyazevm on February 11, 2008 at 01:04 PM
-
Hi Igor, sorry for posting randomly on your blog, but I found your name exploring the com.sun.java.swing.plaf.windows source code.... :)
I'm trying to support multi-sequence accelerators in JMenuItems while using the Windows look and feel. For example,
File
Open... Ctrl+X Ctrl-F
Save Ctrl+X Ctrl+S
Close Ctrl+X Ctrl+K
Previously, we were able to do this by supplying our own subclass of BasicMenuItemUI. Now, however, with all the special rendering for Vista, our subclass does not render the same as Sun's WindowsMenuItemUI.
Can you think of a good way to accomplish this? We are really stuck! Thanks!
Jared
Posted by: jaredmac on March 20, 2008 at 07:44 AM
-
Hi Jared ,
May I ask you to repost your question to http://forums.java.net/jive/forum.jspa?forumID=74
Thanks,
Igor
Posted by: idk on March 20, 2008 at 07:52 AM
-
Done --
http://forums.java.net/jive/thread.jspa?threadID=38356
thanks.
Posted by: jaredmac on March 20, 2008 at 07:59 AM
|