The Source for Java Technology Collaboration
User: Password:



Michael Nascimento Santos's Blog

Michael Nascimento Santos Michael Nascimento Santos is a seasoned developer with more than 8 years of experience with the Java platform, from J2ME to J2EE, and over 14 years of pratical programming experience. He co-leads JSR-310 (Date & Time API), is a Java Champion, an expert at 5 JSRs - JSR-207 (PD4J), JSR-250 (Common Annotations) and JSR-270 (Mustang/Java 6), JSR-296 (Swing Application Framework) and JSR-303 (Bean Validation) -, the java.net Community Manager for the JSR Community and a java.net blogger. He also helps to run SouJava, one of the largest JUGs in the world and collaborates with many open-source projects, such as Thinlet, AspectWerkz and genesis. He has spoken at many Java-related events, such as JavaOne 2003/2007, JustJava 2003/2004/2005/2006, Abaporu 2003, FISL 2004, COMDEX Brasil 2004, BrasilOne 2004 and Conexao Java 2005/2006.



Special limited offer: extra seats for Date & Time session repeat

Posted by mister__m on May 06, 2008 at 05:54 PM | Permalink | Comments (0)

Those of you following my work are probably aware we'll be presenting a JavaOne session about JSR 310, aka the new Date & Time API. The original session got full a few weeks ago, so a repeat was scheduled a few days ago. Unfortunately, it also got full last week.

The good news is that our Thursday session was moved to a larger room, so now there are around 60 seats available. So, if you are interested, rush up: login to Schedule Builder and secure your seat, cause it seems Date & Time is hotter than people assume ;-)



Making your components work nicer inside Matisse

Posted by mister__m on February 20, 2008 at 07:20 AM | Permalink | Comments (4)

A co-worker had been developing some nice-looking custom components for a customer project. It was tightly integrated with the backend logic, though, so he tried to use it with Matisse, there were several issues, from class loading errors to slowness, since the component was trying to do its "real task" inside the designer.

So, when he told me that, I immediately recalled a trick I came to know way back in 1999, while I was struggling with Java and Swing for the first time. The java.beans package comes with a class named Beans that comes with a bunch of static utility methods. One of them, isDesignTime(), let your component find out if it's being used in preview mode.

He changed the component constructor to check for design time and skip the "black magic" section. It worked like a charm and he said it was the best tip I gave him last year. So now I've finally had the time to blog again, I thought it would be an interesting tip to share :-)



May 2008
Sun Mon Tue Wed Thu Fri Sat
        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


Search this blog:
  

Categories
Business
Community
Community: Java Communications
Community: Java Enterprise
Community: Java Patterns
Community: Java Specification Requests
Community: Java Tools
Community: Java User Groups
Community: Java Web Services and XML
Community: JavaDesktop
Community: JDK
Community: NetBeans
Databases
Deployment
Distributed
J2EE
J2SE
JavaOne
JSR
Open Source
Patterns
Performance
Porting
Programming
Swing
Testing
Tools
Virtual Machine
Web Services and XML
Archives

May 2008
February 2008
June 2007
May 2007
February 2007
January 2007
August 2006
July 2006
February 2006
October 2005
July 2005
June 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
September 2004
June 2004
May 2004
March 2004
February 2004
January 2004
December 2003
November 2003
August 2003

Recent Entries

Special limited offer: extra seats for Date & Time session repeat

Making your components work nicer inside Matisse

Desktop development made easier with genesis

Articles

Creating and Managing an Open Source Project, Part 1
Do you want to kick off your own open source project? The tools can be provided by java.net, and it helps if you know how to best use them. In this first part of a series of article on open source project management, Michael Nascimento Santos helps you consider whether you need to create a new project, what license to use, and how to navigate java.net's project-creation tools. Jul. 28, 2005

Reflection on Tiger
The introduction of enums, generics, and metadata are changes to the Java language that require modifications to existing APIs, such as Reflection. This article examines the modifications to the Reflection API that are now available to the public as part of JDK 1.5 beta 1 and shows how you can take advantage of them in your code. Mar. 8, 2004

All articles by Michael Nascimento Santos »



Powered by
Movable Type 3.01D


 Feed java.net RSS Feeds