When is an applet not an applet?
Everyone knows what an applet is, right? It's a dedicated part of the browser's rendered space, into which Java code can blit some pixels.
Except... what if there are no pixels? What if the applet's real purpose is to maintain client-side state for a web application? And what if it can do this by using an interesting classloader trick to allow that state to survive the
Applet.destroy() method? Open up the definition of what an applet is, does, and can be, and you might find some surprising functionality.
In Java Today:
the ME Application Developers Project within the Java Mobile & Embedded Community is solely dedicated to the business of application and content development on mobile and embedded Java platforms. It contains a gallery of ME applications, and popular links to help, and can help you find the resources you need -- demos, source code, tools, and tips -- and learn how to connect with the community.
A new article at Artima, Lexical Scope of Java Inner Classes and Closures, is comprised mostly of a big table, one which compares and contrasts an intresting and important concept in the debate over the various closure proposals for JDK 7. "One of the key differences between the different Java inner class and closure proposals is the lexical scope of names, this blog compares the scoping of the major proposals (CICE + ARM, C3S, FCM + JCA, and BGGA in both its forms). The order in the comparison table[....] from left to right, is how large a change is made to Java."
ONJava blogger Timothy M. O'Brien continues his series on digging into JavaFX with a pair of updates in JavaFX: New WYSIWYG Editor + Ramani Updates on License. "Think we have to wait a few years for good tool support in JavaFX? Think again, thereâ€™s a pretty capable tool from Reportmill Software."
In today's Weblogs, Eamonn McManus has help with Making a JMX connection with a timeout: "One question I encounter frequently about the JMX Remote API is
how to reduce the time taken to notice that a remote machine is
dead when making a connection to it. The default timeout is
typically a couple of minutes! Here's one way to do it."
Masoud Kalali looks at GlassFish version 2 monitoring capabilities: "GlassFish version 2 provides a good monitoring service which allows developers to monitor all application server related activities in order to improve their applications or hunt bugs."
Finally, Vivek Pandey has his JavaOne wrap-up: "It took me so long to recover from JavaOne! Well not really, right after JavaOne got pulled into various things and could never get to it.
Overall, it was great to meet JAX-WS RI users and hear their feedback."
In today's Forums,
JTree should select on right-click: "It's a shame that JTree doesn't select when the right mouse button is clicked. I know the reasons why this was changed, and I even somewhat agree with them, but what it's caused is a fail because Swing's "Windows look and feel" no longer feels right. In native Windows apps, right-clicking on a tree item always (I am yet to see an exception to this) selects before showing the popup/ I'm not sure what other systems do but at least the Windows L&F should be modified such that before displaying the popup, it selects the node which was clicked unless it was already selected."
andrewdavison62points to a useful JOGL tutorial in JOGL-ES Ch. 3 Online: A Particle System: ">I've just added a third chapter on JOGL-ES (JSR-239) to the Pro Java 6 3D Game Development website at http://fivedots.coe.psu.ac.th/~ad/jg2/. It's called "JOGL-ES Chapter 3. A Particle System". This chapter's about how to build a particle system using point sprites."
Current and upcoming Java
- May 28-June 1 - J2EE Training Philippines
- June 1-3 - Greater Oklahoma Software Symposium 2007
- June 8-10 - Central Ohio Software Symposium 2007
- June 12-18 - Java Training Philippines
- June 20-22 - SpringOne
- June 22-23 - Salt Lake Software Symposium 2007
- June 24-28 - Jazoon'07
- June 29-July 1 - Lone Star Software Symposium: Austin Edition
- July 20-22 - Research Triangle Software Symposium 2007
- July 23-27 - O'Reilly Open Source Convention 2007
- July 27-29 - Desert Southwest Software Symposium 2007
Registered users can submit event listings for the
href="http://www.java.net/events">java.net Events Page using our
href="http://today.java.net/cs/user/create/e">events submission form.
All submissions go through an editorial review before being posted to the
Archives and Subscriptions: This blog is delivered weekdays as
Today RSS feed. Also, once this page is no longer featured as the
front page of java.net it will be
archived along with other past issues in the href="http://today.java.net/today/archive/">java.net Archive.
When is an applet not an applet?