Wednesday, November 10, 2010

How to set CVS compression for NetBeans IDE

I was looking for how to use cvs compression inside NetBeans and I have just found the following message from Peter Pis:

On Mon, Jul 3, 2006 at 12:47 PM, Peter Pis wrote:

Hi Diego,
try to run netbeans with switch "-J-Dnetbeans.experimental.cvs.io.compressionLevel"

Example:

-J-Dnetbeans.experimental.cvs.io.compressionLevel=4

Level range = <0,10)

Regards,
-Peter


It is really old but thanks to GMail I still have it and the NetBeans source code still looks for this option :D
I have done some initial tests and it really works as expected for NetBeans 6.9 and I hope it can help you as it will help me a lot.

Happy coding!

Friday, November 05, 2010

NetCAT 7.0 is open!



Hello Bug Hunters! Now is time to join the NetBeans 7.0 testing program and help us weed out glitches for the next major NetBeans release. To do so, access the program website and register yourself and help to make NetBeans the best IDE for you.

Happy coding!

Thursday, November 04, 2010

The Developer's Conference 2010 - Florianópolis



Este final de semana estarei participando do TDC em Floripa, mais uma oportunidade de rever alguns amigos. Caso você esteja pela região é mais uma ótima oportunidade de conhecer grandes profissionais bem como discutir sobre os mais diversos temas. Não deixe de prestigiar mais este grande evento promovido pela Globalcode e VOffice.
E claro, não deixe de prestigiar algumas das apresentações do Bruno Borges e do Bruno Souza, com certeza estarei por lá.

Vejo vocês por lá.

Sunday, October 24, 2010

NetBeans Platform 6.9 Developer's Guide review

NetBeans Platform 6.9 Developer's Guide

The first thing I would like to highlight is the foreword from Geertjan Wielenga, which makes clear this book has a target: introduce NetBeans Platform building a sample application from scratch and that "zero knowledge of the NetBeans Platform is assumed", but you should keep in mind that Java and Swing knowledge are required. If it is not what you are looking for, as suggested by Geertjan you could look for "The Definitive Guide to the NetBeans Platform" and "Rich Client Programming: Plugging into the NetBeans Platform" which continue to be the best detailed sources about NetBeans Platform APIs, together with the several NetBeans Platform tutorials, of course.

The 1st chapter introduces the reader to the modularization world, why it is necessary with simple explanation and of course many aspects of how NetBeans Platform try to solve this issues are explained with good theory and samples. The most interesting point in this chapter is not just the NetBeans module system but the OSGi support, the de facto module system.

The 2nd chapter summarize how to create and customize UIs using Matisse and chapter 3th how to use and organize your UI in a NetBeans Platform using the Window System. These chapter was well write with good examples to how create and organize the views for your application.

The 4th chapter probably is one of the most important chapter in this book which describes one of the most important NetBeans APIs: Lookup. In this chapter, you will learn how to communicate between modules in a loosely-coupled way.

The 5th chapter the author presents to us how to write global Actions and the 6th chapter, together with chapter 4th, we have the most important chapter in my opinion, presenting the Nodes API and the Explorer and Property Sheet API. Here you will learn how and when use nodes as well how to shows it in your application.

The next two chapters covers the FileSystem API and Datasystems API respectively. These APIs help you to work with the local file system, the NetBeans central registry and how to registry and work with your own file types.

The 9th chapter covers how to write dialogs and wizards and chapter 10th how to store settings and integrate your application with NetBeans Options dialog. The next chapter 11th we learn how to create help sets and integrate it to Help menu as well how to support context-sensitive help sets for each of our UIs.

For next you will learn how to set the branding of the application, defining a new name and title for the application as well how to change the splash screen and icons in the chapter 12th. The chapter 13th shows you how to distribute the application creating installers for several operating systems as well how to distribute it in a ZIP file and the last but not least how to write and support live updates for your application or modules.

The book was really well write, the language is really accessible and easy to understand, and the examples cover satisfactory the book target.
There are minor issues as every book but I recommend it mainly if you don't know the NetBeans Platform or just know it superficially. In my opinion the only complain about the digital version of the book is the images quality, most of them are hard to read and understand since it look distorted.

If you wish to see more details and buy the book, visit this page.

Thursday, October 14, 2010

New GridBagLayout designer for NetBeans 7.0


I have just noticed the new GridBagLayout designer for NetBeans 7.0. There is no much details yet but it is a really good addition for the new version, specially for people like me work with Swing day after day. To see the disclaimer about it, take a look at the NetBeans 7.0 news page. Hopefully I will have time to review this new feature here and post my personal fellings about it soon.

Happy coding!

Wednesday, October 13, 2010

Copy and Paste History module updated for NetBeans 7.0

I have just updated my module to support the new NetBeans 7.0. Some libraries updates was necessary and minor fixes has been done too so, if you wish to keep using the plugin at next NetBeans release, just download it from the plugin page.
Of course, if you wish to contribute to the plugin, just visit the page for access the source code or even file any kind of issue in java.net website.

Wednesday, August 25, 2010

NetBeans Platform 6.9 Developer's Guide book is available


I have just downloaded my e-book for NetBeans Platform 6.9 Developer's Guide. If you are interested please visit this page and get your copy. It is available both in PDF and Paperback versions.

Friday, August 20, 2010

NetBeans UML Plugin Ressurection!

Hi people,

I happy to say that since last week the UML support for NetBeans IDE was resurrected by the community as you can see the official announcement in the NetBeans new webpage. This effort is fully driven by the NetBeans community and if you wish to help to keep and improve this plugin don't hesitate to contact Javier Ortiz Bultrón or send your offer to developers@uml.netbeans.org mailing list.
For more details about what is going on, take a look at the project wiki page.

It is one more prove how strong is the open-source community! Thanks guys!

Tuesday, August 03, 2010

The Developer's Conference 2010

A 4a edição do The Developer's Conference, promovido pela Globalcode, irá se realizar 20, 21 e 22 de agosto de 2010 na Universidade Anhembi Morumbi. Caso você esteja por São Paulo é uma ótima oportunidade de conhecer grandes profissionais bem como discutir sobre os temas mais relevantes da atualidade. Não deixe de prestigiar mais este grande evento dos meus amigos da Globalcode.

 The Developers Conference 2010, um evento organizado pela Globalcode

Tuesday, June 15, 2010

NetBeans 6.9 is alive!


It is time to salute the shine new NetBeans 6.9 release. You can see above some new features as:
  • JavaFX Composer to simplify and visualize JavaFX development;
  • JavaFX SDK 1.3;
  • Support for Equinox and Felix OSGi frameworks in NetBeans Platform;
  • Spring Framework 3.0 library support;
  • Java CardTM 3 Connected;
  • Rails 3.0 Beta support;
  • PHP Zend Framework support;
  • Support for JSR-299, Contexts and Dependency Injection (CDI).
You can get more details in NetBeans 6.9 webpage as well start your download here. Should I say the performance for this new release is better than ever as well no opened issue from my side, so looks like it is really stable :)

I hope you enjoy it as I will!

Happy coding!

Monday, June 14, 2010

Divulgação: SCE Desenvolvimento de Soluções Java com Prática Empresarial


Você mora em Tubarão, SC, ou região e quer aprimorar seus conhecimentos na tecnologia Java focando práticas para desenvolvimento corporativo? Bom, irei ministrar algumas disciplinas no curso seqüencial SCE Desenvolvimento de Soluções Java com Prática Empresarial na UNISUL, Universidade do Sul de Santa Catarina, focadas no desenvolvimento de aplicações desktop com persistência em banco de dados utilizando JPA 2 bem como desenvolvimento de relatórios. Se estiver a fim e desejar mais detalhes sobre o restante do curso, você pode visitar a página oficial do curso aqui.

Caso tenha alguma dúvida, fique a vontade para entrar em contato.

Bons estudos!

Tuesday, May 25, 2010

NetBeans 6.9 RC1 available!


Well, one more really is in the corner and now we can start to test the first RC version of NetBeans 6.9. You can get more details in NetBeans 6.9 webpage as well start your download here. Should I say the performance for this new release is really better than before.

Happy coding!

Monday, April 12, 2010

The correct way to file a performance issue for NetBeans IDE

Sometimes you feel your favorite IDE is slower or the memory consumption is higher than you expect so you usually file a bug but just a description is not enough to solve it. For this kind of issue the developers need more information as steps to reproduce and of course the heap and/or thread dumps of your system. Based on these informations some bottleneck could be identified and a solution implemented.

But get these information is not trivial for many users and NetBeans IDE has since version 6.7 a feature named Profile Me! or even Fitness Via Partnership which helps to make this task easier.



In this page you can see step by step how to get the thread dump from your system in the section Profile Me! and just below you can see the section Snapshot me! with details about how to get and send the memory dump. Many people are not aware about it so I hope this post could help you to file better issues to NetBeans project helping to make this the only IDE you need.

Happy coding!

Tuesday, April 06, 2010

How to solve NetBeans and Java editors problem when scrolling down large files under Linux the text becomes garbled, distorted or scrambled

I am sure one image tell more than thousands of works, so here... we... go!


If you are experiencing this kind of behavior in your application, IDE or any kind of editor, don't worry so much, it is a misconfiguration of your video device and you can face it in several Java applications. Just to track the problem, some issues was filed against NetBeans Issuezilla and them was identified as a invalid issue, since it is a video card misconfiguration. After some searches and tests I realized how to solve the problem. I am current using a Ubuntu 8.10 with an Mobile Intel X3100 video card, which was automatically configured by Ubuntu in my xorg.conf file as below:

Section "Device"
Identifier "Configured Video Device"
EndSection

The first step to solve the problem is to know which display controller you are exactly using. To got it, I used lspci command line tool, where Display controller property will say what you need. Now, you just need to edit your /etc/X11/xorg.conf file with the code that follow and don't forget to backup your current xorg.conf file:

Section "Device"
Identifier "Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
Option "AccelMethod" "xaa"
Option "RenderAccel" "true"
EndSection

where Identifier should be your display controller. Now you just need restart your X server and back to work. For details about this solution, see this discussion and comments are really appreciated.

Another alternative is add a new property for JDK:

-Dsun.java2d.pmoffscreen=false

This should fix it too.

Happy coding!

Friday, March 26, 2010

New feature in NetBeans 6.9: Terminal and Remote Terminal Emulators

A new feature just added to the IDE, at least I think so :), is the new option to use terminal directly inside the IDE. The terminal has all features all use at Ubuntu terminal so, it is pretty awesome for me. To access this go to 'Window > Output > Terminal' or 'Window > Output > Remote Terminal'. Take a look here a image about this new feature.


Thanks Michael to point me this new feature. :)