Skip to main content

Running everywhere

Posted by daniel on November 30, 2004 at 10:53 AM EST

Getting the look and feel just right

Bino George joins java.net as a blogger with his post Hi-Fi Swing (or improving the native fidelity of Swing System L & Fs in Weblogs. He writes "Other Java based GUI Toolkits have taken a different approach that is more closely bound to the platform toolkit. As always in life there are two sides to every story. The freedom from platform restrictions comes at some cost in terms of engineering the Swing Toolkit. Swing engineers have to make conscious trade-offs between native fidelity and platform independence. "

Michael Nascimento Santos has identified some Bizarre behaviour in PropertyDescriptor . Check out what happens when you try to read the value of a property in a subclass.

Jonathan Simon presents a light-hearted poke at Paul Graham and Java noting that "you have to at least appreciate the irony in that the remnants of the company he used as an example of why not to use Java -- are now using Java themselves."


In Also in Java Today , Jonas Boner, founder of the AspectWerkz AOP framework, has written an article on TheServerSide on AspectWerkz 2: An Extensible Container. He assesses the current state of AspectWerkz and looks ahead to "Having one single intermediate representation for the aspect (definition/model/plan), regardless of how it is implemented, defined, and weaved, and a well-defined API to work with this definition opens up for standardization on tools, both for development and runtime manageability."

Finally you can just add() a component to a JFrame without getContentPane() as you will read in the Core Java Tech Tip Changes in working with Content Pane. The tip points out that in the top level containers JFrame, JDialog, JWindow, JApplet, and JInternalFrame you do not need to explicitly call getContentPane() when using the add(), remove(), and setLayout() methods in JFrame. You do, however, still need to be aware that you are using a ContentPane.


In Projects and Communities, the Jini community is presenting the latest in their Webinar Series Wednesday, December 1st at noon EST (5 pm GMT). Join Michael Ogg, from Valaran, for his presentation Service Oriented Architectures - Separating Hype from Reality.

The Java Web Services and XML community homepage points to the article Accelerating Java Serialization/Deserialization in which Jean-Marie Dautelle reports on a benchmark on serialization.


It's useful to look back at lessons from previous programming languages. The Functions/Methods as first class objects thread includes some thoughts from Simula in today's Forums. Erikma writes "Simula-67, the very first object oriented programming language, had this pretty well sorted out (though some functionality i omit here made GC cumbersome). They had inner methods and method parameters, tools that were very powerfull, especially for working with collections. It is like the power of functional programming with simplicity of java syntax. Pretty much, the rules (at least the ones i propose being made part of java) are/were as follows [..]"

Yishai asks " Other than the Number system (parseInt, parseLong, etc.), what other examples of APIs do you have where there is no way to know if a method will succeed without catching an unchecked exception?"


In today's java.net News Headlines :

Registered users can submit news items for the java.net News Page using our news submission form. All submissions go through an editorial review before being posted to the site. You can also subscribe to thejava.net News RSS feed.


Current and upcoming Java Events :

Registered users can submit event listings for the java.net Events Page using our events submission form. All submissions go through an editorial review before being posted to the site.


Archives and Subscriptions: This blog is delivered weekdays as the Java 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 java.net Archive.

Getting the look and feel just right