Affichage des articles dont le libellé est swing. Afficher tous les articles
Affichage des articles dont le libellé est swing. Afficher tous les articles

mercredi 16 mai 2007

Non, les applets ne sont pas mortes !

Iris est une démo (montrée à Java One) assez impressionnante mixant applet, Swing, HTML, JavaScript et AJAX !
Iris shows the power of modern Java applets, highlighting the following major features of the Java platform:
  • Next-generation web integration: Java applets interoperate well with JavaScript in all major web browsers.
  • Multithreading support in the Java platform and libraries hides network latency from the end user, and increases the application’s throughput.
  • Native desktop integration supports concepts like drag-and-drop "on to the web".
  • The Java platform’s powerful and flexible security model allows true web service mashups to be created which connect simultaneously to many web services.
  • The rich image handling and graphics capabilities of the Java core libraries facilitate development of advanced graphical applets and applications.
  • Dynamic extension of applets: new techniques developed within the past year in the JOGL project allow applets to use OpenGL for 3D graphics, OpenAL for spatialized audio, Java Media codecs, and other extensions previously only available to desktop or Java Web Start applications.
Pour voir la vidéo de la démo Ou pour essayer Iris (ça marche pas toujours ! :( et Iris à besoin d’un Java SE 6)

dimanche 6 mai 2007

Beans Binding (JSR 295) exemple

La version 0.5 de l’implémentation de référence de la JSR 295 a été rendu public début avril Ayant voulu essayer de faire joujou avec, je me suis heurté au manque d’exemple … "An proper introduction and examples on this project page are forthcoming."’ J’ai donc récupéré un ancien exemple de Scott Violet sur son blog que j’ai adapté à cette nouvelle version de la RI de Beans Binding et les sources sont downloadable ici (ou la) et utilisent le jdk 1.6 (utilisation de GroupLayout) Pour utiliser le projet NetBeans, il faut re-référencer les jars qui se trouve dans le répertoire lib du projet et positionner le bon jdk ! La classe à exécuter est BindingCaricatureController (NoBindingCaricatureController et la version sans Beans binding)