1 2 Previous Next


27 posts

Sun Developer Network published an interessting interview of Charles Ditzel. But I wanted to react on some part.

We also occasionally hear that the layout manager, GroupLayout, which the NetBeans IDE GUI Builder uses to create its great user interfaces (UIs), causes some sort of lock-in or is proprietary. It's in JDK 6 and included as a library for use in JDK 5.0 and 1.4. As you can see, it's neither a lock-in nor proprietary.

He is right by saying that you have no lock-in nor proprietary.But at run-time only. Because at development time, you are locked with NetBeans, and his famous .form file.

When that will be fixed. When the GUI editor of NetBeans will be able to edit any java source file WITHOUT needs of a proprietary .form file, then, only then, you could say that there is no lock-in.

Somes little enhancements I would like to see in next release of NetBeans are the following: 1. today, NetBeans editor permits to use Camel Notation. So, if I type NPE and press Ctrl-Space, I obtain NullPointerException. I would like that NetBeans editor goes further and accept also Camel notation for methods. So, when I type Integer.tHS and press Ctrl-Space, it should become Integer.toHexString(|); 2. Please, add context when I want to add/modify code concerning the elements of the Visual Editor. Would facilitate our work. 3. Isolate a Visual Element. You know. You start by doing a simple Swing GUI that become more and more complex. Should be easy, to select from the properties windows a GUI element (like a sub JPanel, containing a lot of buttons, labels, ...) and then ask to NetBeans to isolate that Visual Element. Result is a new Class and his associated xml file. And should be added in the Local Palette (that contains all Beans of your current and associated projects). The third feature would be a really nice one. Hope to see that in NetBeans 6.x  
When the b  
Today, I received my award that was given by James Gosling at the NetBeans Day preceding JavaOne 2005. netbeans-award.png As you can see in the picture, the award was signed by three peoples. On the right, I can recognize the signature of James Gosling. But I have no idea about the two other signatures. If you could help me to identify the two others signatures, I will be very happy. I just would like to say that this award would not be mine, but the one of the NetBeans Team, that continues to enhance NetBeans and to give us a very powerful IDE, for free, and open sourced.  
Today, I submitted 3 new flash tutorials to the NetBeans website. Thoses tutorials were existing in the past, but exclusively for the french community. Except one I posted here in the past, as a snap preview. I decided to translate them in english and to submit them to the NetBeans website. 
  • How to have more workspace ?
  • How to navigate through Sources and Views ?
  • How to install Modules via the Update Center ?
Enjoy themOther tutorials would be available during the next weeks. Stay stuned. French version of those demos (and other ones) are also available
Hurrah, Youppie, Yes, Great, .. Today, I received my Examination Score Report where it's indicated that I am now a Sun Certified J2SE 5.0 Programmer. I passed the exam the 1st February 2005. Normally, we know directly, at the end of the exam, if we success or not, if we are certified or not. But, in this case, it was not the case. I had to wait until today to know my results. And I am now a Sun Certified Programmer for the J2SE 5.0. But, IMHO, I would have failed. I will explain you reasons why I have the status only today. And why I would have failed. Once upon a time, somewhere in Octobre 2004, I went to a book festival in Brussels. And I bought some Java Certification books for less than 5  
This week, Sun Belux invites me to a Technical Workshop, to celebrate the launch of NetBeans IDE 4.1. They organized a Technical workshop on May 25 (Luxembourg) and May 26 (Belgium). In the mail it was said Please feel free to forward this invitation to your colleagues. Because we are belonging to the same community, I can consider you as my colleagues. More details and registration on the following page: http://be.sun.com/nblaunch P.S. It's possible to win a trip to JavaOne. I hope to meet somes of you. Vincent  
Recently, by reading JavaRSS, I discovered a very nice site that permits us to type and run piece of Java code. That site is Zamples 

But what is very nice is that you have possibility to choose the JDK. So, you can decide to run your code by using JDK 5.0, but also by usng JDK 6.0.

It's really simple to use.

Hereunder a screenshot of a little java class that display the version of the JRE, but also the parameters given as input.

Please note that signature of the main method is public static void main(String... args) {}

If you compile it with an old JDK, it will never compile. That new notation has been introduced with Tiger (JDK 5.0) zamples.png

Note also that they are using build 13 of the JRE 6.0.

I hope they will update the used JDK with the last build available on java.net. That would be really great.


Wink is Great Blog

Posted by vbrabant Apr 18, 2005
Recently, by reading a post in Javarss, I discovered Wink, a Tutorial and Presentation creation software. That tool is great and very powerfull. You can in somes minutes create nice presentations. Hereunder, a presentation I just created to learn how to have more room to edit your code in NetBeans 4.1 
It seems that it exists a tradition at NetBeans to modify their graphic chart every years, 2 years. 

UPDATE: It seems that they decided to use that new look and feel for NetBeans 4.1RC1.

NetBeans EDI 4.1 is not yet released that they are already preparing the NetBeans EDI 4.2. And, therefore, it seems they are reviewing the colormap and changing their logo.

Please discover what you can see now when you download the last daily build of the NetBeans IDE 4.2.

Splash Screen of NetBeans IDE 4.2
Welcome Screen of NetBeans IDE 4.2

How do you like it?

In his blog, Ludovic Champenois, one of the lead enginners on the J2EE functionality in NetBeans, asked what we (NetBeans's users) would like to see in NetBeans 4.2 or even NetBeans 5.0. So, hereafter is my wish list: 
  • Enhancements 
    • Please look at all issues marked as Enhancement/Feature in Issuezilla of NetBeans. And say to the reporter if it's accepted or rejected.
    • Enhance the Form Editor to support new layout introduced in Tiger but also new JGoodies.
    • Enhance the Code Formatter
    • Enhance the Refactoring (we have not yet the basics (Extract Method, by example)
    • Add all features of Tasklist modules (with display of PMD result, and proposal of suggestions ...)
    • Have capability to create our own Ant based project, or to modify a existing one. (Why I have to always do the same modification _add a new target that generate PMD, Checkstyle, and Findbugs report_ in each Ant script I created in NetBeans ? It could be simpler if I have possibility to modify the Ant script that will be generated like I can modify existing templates for classes, ...
    • Add UML Support with Reverse Engineering (Be able to create UML class diagram based upon your sources, or be able to generate a sequence diagram based upon the method you selected)
    • Enhance support of Annotation (@Interface), to facilite generation of new java source or directly bytecode.
    • Enhance the Metric Module to have nice graphics and more metrics.
    • Fix the SCAN problem each time we start NetBeans.
  • Add Support for
  • Reverse Engineering of Unit Tests: Based upon a TestCase I created, the skeletton of the Class to test is generated.
  • Transform the SJSC (Sun Java Studio Creator, aka Rave) into a NetBeans Module. So I will not be obliged to use two tools based upon the same core (the netbeans platform) for my web development and always be obliged to switch to the other one.
  • The main enhancement that must be done is to give a better documentation and facilitate the creation of modules for NetBeans.

When I compare the number of modules created for Eclipse and the number of modules created for NetBeans, I conclude that creation of a module for Eclipse seems simpler than creation of a module for NetBeans. If you do no enhancements in that domain, you will never be able to eclipse eclipse.

Success for NetBeans 4.1.

NetBeans really rocks. As many of you know, I am a long-time user of NetBeans, now. Already 4 years now that I am using NetBeans. Already 8 months that I was playing with the alpha, beta, RC1, RC2 of NetBeans 4.0. And yesterday, it was a big day: The official announcement of the NetBeans 4.0 release. The first time I met a NetBeans developer, after 4 years exchanging mails about NetBeans. When Tim began his presentation, he asked how many people in the audience already used NetBeans. And, if I remember well, a large majority of the audience were people that never used NetBeans. But I am pretty sure that Tim convince them to try it. He showed how nice was supported the JDK 5.0, and how powerful is the Ant driven projects. Also how JUNIT is really well integrated in the development of the workflow. What was bluffing is when he creates a new project in netBeans to compile and run JEdit. How easy it was. Really amazing. He justs indicate that he wanted to create a project with an existing Ant script, indicate where the ant script is. If the build.xml follows Ant best practices, NetBeans does by itself the mapping between the actions in the IDE and the target in the Ant Build Script. He also showed the J2ME support, and how easy it is to develop midlet application and how easy it is to test your application under different portable emulators. He also announced that you will be able to debug your midlet application that run directly on your mobile. Another very interresting part of the presentation was the one of JFluid. Personally, it was the first time I saw it running. And it is a very powerfull tool. You can really tuning your piece of code without decrease the performances of all the application. That demo really convince me that I did the good choice when I adopted NetBeans 4 years ago.  
During the keynote of this morning, Someone of Sun (I am sorry, but I don't remember who) speaked about Java and Real Time Application. Java and Real Time Application ? Not possible, I though. You can't garantee Real Time when you use applications based upon JVM having a Garbage Collector that can suspend your thread at any moment, and for somes time (it may be short, but always too long for Real Time Application). But, aside the guy, everyone could see a strange machine. Because I have'nt find a photo of that machine, let me try to describe it. On the table, we could see 2 pc (Sun Solaris machines, and between those two pc, you had I/O Cards. Each one of those PC were linked to those I/O Cards. Those I/O Cards were connected to something that could move along a rail. That think was in fact a pendule. But a really strange pendule, because in place of go down, the pendule was up. In fact, the Java application always looked at the angle of the pendule and, when necesary, move the machine left or right along the rail to do some correction and be sure that pendule is always vertical, but in up position. That's the reason why someone called his demo the viagra demo. When the guy pushed the stick, automatically, the machine moved along the rail to correct the angle, and let the stick well vertically. He explained that only one PC was controlling the machine. And started the second machine as Backup. When backup machine was launched, he stopped the application that was running on the first machine. And the stick were always well vertically. The second PC take the relay. Then, he restarts the application on the first PC. At that moment, that application become the backup. And he unplug the cable of the second PC, that was at that moment the master controller of the I/O Card. And the stick continues to be vertically. Also, I forget to say that other applications were running in the same Virtual Machine on each one of those two PC. And those applications somethimes freezed due to the carbage collector. I hope that I someone will post a photo somewhere on the web, and that I will be able to add a link here. And the java application continues to keep the stick vertically during all the time of the next keynote. So, if people are not yet convinced that RT Application can run under the JVM, personally, I am now convinced. Want to share your experience with RT Java Application ? Update: Someone take a photo of the machine and publish it on Javapolis. Look at the picture
He spoked about Java. But not about the Java Language itself. No. About the Java Virtual Machine. He explained that dynamic language like Perl, Python could accelerate the development, and also be robust. Then, he speak about Jython, that is running upon the Java Virtual Machine and could easily be connected with all the current Java APIs. So, could you imagine the advantage of a dynamic language like Jython or Groovy, having the possibility to use the huge number of java Apis ? He also showed that responsible of JDK 1.6 (sorry, JDK 6.0) meeted people of Jython and that we will certainly see somes modification in the Byte Code of the JVM to facilitate usage of dynamic language as Jython. He finished his keynote by showing the new recently version of NetBeans 4.0 and encourage people to download it and play with it. I can also encourage you to look at it. What do you think about support of other language on the JVM ? Do you agree that somes modifications are necessary in the Byte Code to facilitate support of other language ? Please tell me your thinking  
Yesterday morning, Javapolis began with a Key note of Rick Ross, the founder of http://www.javalobby.org. He explained why it's very important to have a strong and active java community. He said that we, as Java developper have to play an actor's role, and not be passive. Then, he does a little presentation of web sites that form the javalobby community. He also speaked about what he will set in place in the future, and it seems very interresting. Firstly, he wants to set in place a JUGCommunity or JUGCentral, where all JUG around the world could be hosted and have nices tools to manage events, calendar, ... Secondly, he wants to create a JCampus, permitting to have an on-line campus concerning Java World. I hope it will happens shortly. Because I am very curious about which content will be available on that site. What do you think about Rick Ross's initiatives and his plans for new website.  

Filter Blog

By date: