« říjen 2009
PoÚtStČtSoNe
   
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
       
Today

Navigation

Speaker Profile
Roumen's Weblog
Login
Sun Bloggers
Technorati Profile

Am I popular?

Today's Page Hits: 643

Contacts

Name: Roman Strobl
E-mail: roman dot strobl
at sun dot com

NetBeans

Java Sites

Javalobby
The Server Side
Java Tips
Java Blogs
java.net
java.sun.com
java.cz

Blogs

NetBeans:
Geertjan
Brian Leonard
Gregg Sporar
Lukas Hasik
Ludovic Champenois
Vincent Brabant
Alexis Moussine-Pouchkine
Jullion-Ceccarelli
Tom Ball
Tim Boudreau
Jesse Glick
Petr Blaha
Ruth Kusterer
Jara Uhrik
xzajo
Jan Lahoda
James Branam
nbextras.org

Sun:
Kazem - bug cartoons ;-)
Tor Norbye
Romain Guy
James Gosling
Chief Gaming Officer
Bill Vass
Jim Grisanzio
Jonathan Schwartz

Planets:
Planet Netbeans
Planet Sun
Planet Eclipse

Other:
netbeans-blog.org
Joel Spolsky
Bruce Eckel

License info

Creative Commons License
This work is licensed under a Creative Commons License.

Recent Entries

Map of visits

Locations of visitors to this page
« Two Demos: JRuby on... | Main | Comeback of Commodor... »
20070305 Pondělí březen 05, 2007
Swing Application Framework + Swing Databinding Demo

Ever wondered how will NetBeans 6 support JSR-295 and JSR-296? Watch my new flash demo. Thanks to various Swing & NetBeans engineers for the code I reused when recording the demo:


Swing application development simplified
Comments:

This is really good, and funny too. For illustration purpouses a picture of a Trabant can be found here: http://pt.wikipedia.org/wiki/Imagem:Trabant601L.jpg

Posted by Cicero Zandoná on březen 05, 2007 at 08:09 odp. CET #

Cicero, thanks for your comment... the wikipedia entry about Trabant is pretty cool! :)

http://en.wikipedia.org/wiki/Trabant

Posted by Roumen on březen 05, 2007 at 08:16 odp. CET #

Having this much fun at work should be illegal! Seriously though, this is looking very impressive. The only suggestion would be to come up with some dialogue to make binding faster, the current popup dialog seems to be quite cumbersome when having to bind many properties. But you mention it that you guys are working on how to correct this for the final version.

Posted by Jacek on březen 05, 2007 at 08:19 odp. CET #

I want the bits! :)

Posted by Alexis MP on březen 05, 2007 at 08:22 odp. CET #

Jacek: yes, the binding dialogue will be definitely improved. What you see is a prototype, they're going to rewamp the user interface.

Alexis: speak with Scott Violet, I heard he is going to publish the bits for the databinding stuff. Swing application framework protype is published in Hans Muller's blog.

Posted by Roumen on březen 05, 2007 at 08:40 odp. CET #

I think a good idea would be to also expand the range of templates for a Swing app...I doubt most apps consist of a single window. It would be good to add a template with multiple tabs or some sort of template that swaps panels in/out using CardLayout. This would make it inherently that much more usable for real-world applications. If you could integrate stand-alone some of the docking functionality of the NetBeans IDE than that would be border-line genius. :-)

Posted by Jacek on březen 05, 2007 at 08:48 odp. CET #

Absolutelly awesome demo :-)) I think demos as this one can show pretty well, that java on desktop is far from being dead.. Great and funny demo ;-)

Posted by Tomas on březen 06, 2007 at 01:33 dop. CET #

Bravo! Finally complex implementation of databinding in favorite IDE. Hope it wouldn't be restricted to database as data source only. Integrating web services or http invoker support could make it great project.

Posted by Žerem on březen 06, 2007 at 01:54 dop. CET #

this looks great. Let us know when there is a NetBeans nightly build or snapshot available with JSR-295/296 support.

Posted by Curt Cox on březen 06, 2007 at 04:30 dop. CET #

it's like trabant.

Posted by tume on březen 06, 2007 at 04:47 dop. CET #

Yes I'll let you know when the bits are available - hopefully soon :)

Posted by Roumen on březen 06, 2007 at 07:33 dop. CET #

Bravo! The winner really is the developer too, can't wait to even start playing with this stuff :P

Posted by Ruxton on březen 06, 2007 at 11:10 dop. CET #

Great demo, great new frameworks, and the comments about the Trabi are simply hilarious!

Posted by GermanGuy on březen 07, 2007 at 10:12 dop. CET #

looks great! It's there a wget'able HTTP URL of the .mov or whatever i can download and watch in VLC? Cos my internet connection is flaky and the video gets stuck halfway and the player doesn't seem to recover from that. The only thing that works reliably for me is wget -c

Posted by evanx on březen 07, 2007 at 11:15 dop. CET #

Here's a zip for download with the demo.

Posted by Roumen on březen 07, 2007 at 11:55 dop. CET #

This demo rocks, but is not solid because I just download the latest Netbeans 6 Dev Daily Release and this functionality is not there. How can I try this out?

Posted by levmatta on březen 07, 2007 at 03:44 odp. CET #

This functionality is being integrated right now into trunk... it will be available in next milestone or two. We thought we would provide the demo earlier so that people know what we're up to. Sorry, you will be able to try it soon.

Posted by Roumen on březen 07, 2007 at 04:14 odp. CET #

Nice job Roumen, Is there I can use this right now how do I add support for JSR-295 and JSR-296 is that already in CVS, what kind of tweaking is required to get it to work.

Posted by Rajesh on březen 07, 2007 at 04:31 odp. CET #

The code is being migrated to new editor infrastructure, so it will be completely buildable later on (the demo is based on an old build which is out-of-date now). Please check future milestones, the functionality will appear there.

Posted by Roumen on březen 07, 2007 at 04:39 odp. CET #

Is this demo based off the form_promoh branch? If not, which branch is it? ;)

Posted by Bill on březen 07, 2007 at 07:42 odp. CET #

I don't know, I got the build from developers. Ask Tomas Pavek or someone else from the form team.

Posted by Roumen on březen 07, 2007 at 07:46 odp. CET #

[Trackback] Mit Netbeans 6.0 wird das Swing Application Framework eingeführt. Damit lassen sich Swing-Anwendungen speziell für Desktop-Applikationen erstellen. Die hier gezeigte Flash-Demo zeigt zwar in erster Linie die Besonderheit, Textfelder direkt an...

Posted by Junge junge, strenge Jacke! on březen 07, 2007 at 07:51 odp. CET #

It's almost wonderful Only one question... Can I use it with JDO , I mean withOut a JDBC connection , directly with the POJOS ... using get set

Posted by alf on březen 07, 2007 at 08:20 odp. CET #

The binding framework uses Java Persistence API, so yes, you use POJOs for data access, not JDBC.

Posted by Roumen on březen 07, 2007 at 08:23 odp. CET #

Phew, what a demo ! I've been waiting for data binding in netBeans for ages ! Hopefully, it'll be here in 6.0 M8 :)

Posted by netPaladin on březen 07, 2007 at 09:50 odp. CET #

Hey, that's pretty gee-whiz...

But, binding to a local database in 2-tier fashion solves what problem?

Data binding is cool and all, but until data binding like this works without toplink and the j2ee annotations, it's not really relevant for the majority of java desktop applications which are data oriented.

When you can easily bind to web services (not necessarily just soap either), then we're talking. Until then, it's just not too exciting.

Adam

Posted by Adam Taft on březen 08, 2007 at 01:32 dop. CET #

The binding will work with JPA in the first release, however the code behind it is general so binding to web services or general property binding can be added later on (and most probably will be added in after 6.0).

Posted by Roumen on březen 08, 2007 at 11:06 dop. CET #

This presentation refuses to run on linux. I hear a few words of roumen and than the presentation stops. The other presentations run ok. Any thoughts? Kees

Posted by 213.84.91.139 on březen 08, 2007 at 02:14 odp. CET #

Are you using the latest version of flash? You can try to download the zip and run it locally.

Posted by Roumen on březen 08, 2007 at 02:25 odp. CET #

On my Ubuntu Linux 6.10 with SeaMonkey 1.1.1 and the newest Flash plugin the presentation ran fine.

Posted by GermanGuy on březen 08, 2007 at 02:38 odp. CET #

Great Demo! I had the same problems like 213.84.91.139, so I ran the Demo in IEs4Linux Browser (with the newest Flash player plugin) which is easy to install in Linux.

Posted by Ramon on březen 08, 2007 at 02:58 odp. CET #

OK! thanks roumen.
The application will run locally if I just click the 'netbeans_6_gui_builder.swf' file.
It doesn't work when I try the html file in the zip.

Posted by Kees Kuip on březen 08, 2007 at 04:02 odp. CET #

Brillant! You know, i'm more and more addicted to your demos, they're alway very instructive! Since I had nio time reading all 32 coment ( ;) ) I'll ask a question that may have been answered already: Will there be a possibility to create our own S.A.F template and import it in NetBeans ? Good work again!

Posted by Laurent M on březen 08, 2007 at 09:07 odp. CET #

Hi Roumen, I wrote an article in my blog describing this new demo by linking to your demo. But most of my blog readers are from China. They don't have large bandwidth. So they complained that they cannot play it simply because of the network. Can you give us the link so that we can download it and upload it onto our blogs located in China? Thank you very much. -William

Posted by WilliamChen on březen 09, 2007 at 04:34 dop. CET #

Excellent demo, very easy to follow and gives impression of how powerfull the Swing Databinding can be. Of course the highlight were the famous trademarks of the Trabant, "noise, smell and very low top speed", Hurra!

Posted by David Kaspar on březen 09, 2007 at 11:38 dop. CET #

WilliamChen, here is a link for download. Laurent, as for the templates for Swing application framework, I don't know the answer. I know that one of the features for Matisse.next is support for templates, but I am not sure if that will work with S.A.F., too. David, yes Trabant is the king :)

Posted by Roumen on březen 09, 2007 at 12:37 odp. CET #

Hi Roumen, as always, I love your blogs. Me being an eclipse user, I straight awy went to the netbeans devl downloads page, to get the lates release and try the builder out. BUT There was no new Java Desktop Application Template under the New Project -> General Tab. Do I need some special addon? Kind regards Juergen

Posted by Jürgen Hoffmann on březen 09, 2007 at 11:03 odp. CET #

Hi Jurgen, the features will come in Milestone 8 and Milestone 9, they're developed somewhere on branch now. I know it is not completely fair to publish the demo before people can try it out - but we wanted to let people know in advance what's coming (sort of like a trailer ;). So stay tuned, it will be there in either M8 or M9.

Posted by Roumen on březen 10, 2007 at 12:09 dop. CET #

Post a Comment:

Comments are closed for this entry.


    Disclaimer: The contents of my blog represent my personal opinions which may differ from official views of my employer, Sun Microsystems.