Skip to main content

Running everywhere

Posted by daniel on November 30, 2004 at 7:53 AM PST

Getting the look and feel just right

Bino George joins java.net as a blogger with his post href="http://weblogs.java.net/blog/bino_george/archive/2004/11/hifi_swing_or_i_1.html#comments">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 href="http://weblogs.java.net/blog/mister__m/archive/2004/11/bizarre_behavio.html">
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 href="http://weblogs.java.net/blog/jonathansimon/archive/2004/11/paul_graham_and.html">
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 href="http://www.theserverside.com/articles/article.tss?l=AspectWerkzP1">
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 href="http://java.sun.com/developer/JDCTechTips/2004/tt1102.html#2">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 href="http://community.java.net/jini/">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 href="http://www.javalobby.org/forums/thread.jspa?threadID=15926">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 href="http://forums.java.net/jive/thread.jspa?messageID=6891&tstart=0#6891">
Functions/Methods as first class objects thread includes some
thoughts from Simula in today's href="http://forums.java.net/jive/index.jspa">
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 href="http://forums.java.net/jive/thread.jspa?messageID=6905&tstart=0#6905">
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 href="http://today.java.net/today/news/">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
the href="http://today.java.net/pub/q/news_rss?x-ver=1.0">java.net
News RSS feed.


Current and upcoming
Java Events
:

  • November 27 href="https://hkjug.dev.java.net/servlets/NewsItemView?newsItemID=1428">Hong
    Kong JUG - J2SE 5.0 Update
  • December 6-9, 2004 href="http://www.theserverside.com/architecture_workshop/index.html">
    TheServerSide Enterprise Java Architecture Workshop
  • December 7-8, 2004 href="http://jini.org/meetings/eighth">Eighth Jini Community
    Meeting
  • December 13-17, 2004 href="http://wiki.javapolis.com/">JavaPolis, 2004

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 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 href="http://today.java.net/today/archive/">java.net Archive.

Getting the look and feel just right