The Source for Java Technology Collaboration
User: Password:



Ludovic Champenois's Blog

Google and NetBeans extensibility

Posted by ludo on October 05, 2005 at 06:47 PM | Comments (10)

Bonjour, comment Java?

Yesterday The announcement of the collaboration between Sun and Google has been well received and talked about. So what about NetBeans and Google? I wanted to test the new NetBeans 5.0 Beta wizards to develop  new NetBeans modules, and guess what  I was able to do in 16 minutes? Well, a Google search Toolbar inside the NetBeans toolbar... See the result:

5.0beta-button.jpg

See the new "Google:" entry field in the NetBeans toolbar... If you enter some text there and press ENTER, a browser is shown with the result of the search. In the NetBeans explorer, you can see the little NetBeans module.

Google and NetBeans


IF you want to play with it, you can download file NBM (NetBeans Module file) and read the NetBeans documentation to see how to install it in the IDE.
I wonder when the Google toolbar will show NetBeans as a possible download... Ludo

PS: Update: Geertjan Wielenga, the NetBeans docs guru just created a tutorial for NetBeans based on this module: check it out

Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • Hum i'm trying to install this but i get this error message: Module dependecies could not be satisfied, what i'm i missing?

    Posted by: danielmd on October 06, 2005 at 07:59 AM

  • Hi,
    sorry about that: I built it with a post beta version of the IDE.
    Try again, the nbm is now up to date.

    Thanks for trying, I will publish the source soon,

    Ludo

    Posted by: ludo on October 06, 2005 at 08:41 AM

  • OK now it's working... just an idea, insted of using the default browser, you could simply open a panel inside the editor, that would make it much more integrated.

    Posted by: danielmd on October 06, 2005 at 01:06 PM

  • Well, The default browser known by NetBeans is used.
    You can configured it the way you want, via the Tools|Options menu, in the general Tab... You can even pick an internal Swing browser.

    Also, read the new tutorial about the module:

    http://platform.netbeans.org/tutorials/nbm-google.html

    Thanks,

    Posted by: ludo on October 06, 2005 at 01:17 PM

  • For me, it doesn't work with the internal Swing browser.

    Posted by: geertjan on October 06, 2005 at 01:27 PM

  • That would be a bug/limitation in the limited internal swing browser.
    I'll check...

    Posted by: ludo on October 06, 2005 at 01:44 PM

  • OK, by the way, I think this is a really wonderful module. When you build it, you see the power of plug-in module development and Matisse at the same time. And the hand coding that you do is really minimal -- and that code is very easy to understand.

    Posted by: geertjan on October 06, 2005 at 01:46 PM

  • tried the Swing browser also, and i can confirm geertjan, does not work, also the Swing Browser does not behave very well just type sun.com and see what you get, the page is all screw up. also there is no Flash support, is there any way to get flash support with Swing Browser?

    Posted by: danielmd on October 06, 2005 at 02:32 PM

  • Flash in Swing browser? not in the plans I know.
    I guess not I know why the default one is not the Swing internal one which has limitations.

    Posted by: ludo on October 06, 2005 at 02:36 PM

  • Guess i will have to use JDIC browser for flash, maybe you could change your module to use it that way, so that you don't need to use the Swing browser for internal display (no need to open a new windows, simply a new editor tab) that would be nice :)

    Posted by: danielmd on October 06, 2005 at 09:49 PM





Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds