Geertjan's Blog

  • June 23, 2008

Notes for NetBeans Platform 6.5 Milestone 1

Geertjan Wielenga
Product Manager
I've been looking at recent builds for a few weeks, making changes to the JavaHelp in the NetBeans Platform area. Here are my notes, which will be formalized later so currently is just a draft:
  • API Changes: See NetBeans API Changes Since Last Release.


    • New Code Generator SPI
    • User can drop text into palette
    • Loaders are registered in layer
    • No need for DataLoaders anymore
    • New OutlineView component replaces TreeTableView component
    • New resource bundle properties for window system customization
    • Image methods in Utilities class now replaced by new ImageUtilities class

  • NetBeans Platform Tooling Changes:

    • Code Generator wizard. New, supports the new Code Generator SPI.

    • Window component wizard. New field in wizard for keeping preferred size when minimized.

    • Options Panel wizard. "Create Secondary Panel", i.e., upper part of the wizard, lets you add a subpanel to an existing panel, not just the Miscellaneous panel.

    • File Type wizard. No more DataLoader and BeanInfo class generated. Instead, this is how DataObjects are now registered:
      <folder name="Loaders">
      <folder name="text">
      <folder name="x-abc">
      <folder name="Actions">
      <file name="org-openide-actions-CopyAction.instance">
      <attr name="position" intvalue="500"/>
      <file name="org-openide-actions-CutAction.instance">
      <attr name="position" intvalue="400"/>
      <file name="org-openide-actions-DeleteAction.instance">
      <attr name="position" intvalue="700"/>
      <file name="org-openide-actions-FileSystemAction.instance">
      <attr name="position" intvalue="200"/>
      <file name="org-openide-actions-OpenAction.instance">
      <attr name="position" intvalue="100"/>
      <file name="org-openide-actions-PropertiesAction.instance">
      <attr name="position" intvalue="1300"/>
      <file name="org-openide-actions-RenameAction.instance">
      <attr name="position" intvalue="800"/>
      <file name="org-openide-actions-SaveAsTemplateAction.instance">
      <attr name="position" intvalue="1000"/>
      <file name="org-openide-actions-ToolsAction.instance">
      <attr name="position" intvalue="1200"/>
      <file name="sep-1.instance">
      <attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
      <attr name="position" intvalue="300"/>
      <file name="sep-2.instance">
      <attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
      <attr name="position" intvalue="600"/>
      <file name="sep-3.instance">
      <attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
      <attr name="position" intvalue="900"/>
      <file name="sep-4.instance">
      <attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
      <attr name="position" intvalue="1100"/>
      </folder><folder name="Factories">
      <file name="AbcDataLoader.instance">
      <attr name="dataObjectClass" stringvalue="org.nb.demomodule5.AbcDataObject"/>
      <attr name="instanceCreate" methodvalue="org.openide.loaders.DataLoaderPool.factory"/>
      <attr name="mimeType" stringvalue="text/x-abc"/>


      Here's what you get when you now complete the File Type wizard:

      Related document: http://wiki.netbeans.org/FitnessAgainstForgetfulness

    • Project Properties dialog box. Right-click an application, choose Properties, and now you have a new tab in the Project Properties dialog box, called "Window System". Use it to tweak whether the windows should be draggable, resizable, maximizable, etc.

I will get the above notes verified and they'll be part of some kind of release notes at some point.

Join the discussion

Comments ( 13 )
  • gml520 Tuesday, June 24, 2008

    Hi Geertjan,

    I am very happy to see the NetBeans become better.

    but I want to know why the Html code auto completion removed? when I type the code like this:


    <input tpye="text">


    in NetBeans 6.1 when I press the Space key after "text" then the IDE auto Popup the completion window

    but now in NetBeans6.5 M1 that is missing!

    It's important for me ! I like it very much! I hope the Html code auto completion can come back!

  • Richard Osbaldeston Wednesday, June 25, 2008

    Have they gotten around to not setting a new TextComponents text property to it's Matisse generated variable name? That's such a PITA.

    Would rather it used a layer decorator to label components if it must. Something like JXLayer or maybe Swing Explorer might?

  • Richard Osbaldeston Wednesday, June 25, 2008

    Actually being able to disable double-clicks from automatically generating ad-hoc event listeners would be a help too.

    I'm more likely to be using PresentationModels and bindings these days and forever having to fiddle about removing unintentional empty listeners.

  • Geertjan Wednesday, June 25, 2008

    What are the issue numbers of the problems referred to above?

  • gml520 Wednesday, June 25, 2008
  • Varun Tuesday, July 1, 2008

    Can we expect Features-on-Demand Functionality in 6.5?

  • Geertjan Tuesday, July 1, 2008

    Nope. It would require a LOT of analysis and work to implement. Not sure if/when that will be done. You could implement it in your own applications though.

  • Rohit Thursday, July 3, 2008

    Hey! Geertjan, is it possible to extend the matisse module to generate source code for another language/platform than Java/Swing? Is there any API for it?

    I read you your blog posts about using matisse to create Groovy UI but am still hung up.

    If it is not supported are there any chances of such support coming in the next release(6.5)?

  • Robert Ladd Wednesday, July 16, 2008

    I have recently installed NetBean 6.5. I created an Entity class from a database. I created a controller to utilize the Named Queries. When I deployed the distribution (war) file I obervered the message "NamedQuery of name: Config.findByKey not found". When I looked into the distribution file I noticed the Persistence Unit, Entity class, and Controller class where not in the distibution file. Why and how can it be corrected?

  • Geertjan Wednesday, July 16, 2008

    Maybe you should ask that question at nbusers@netbeans.org, Robert.

  • Geertjan Wednesday, July 16, 2008

    Rohit, no, I don't think that's possible nor is it planned to be possible anytime that I am aware of.

  • busby seo test Sunday, December 21, 2008

    there is nice note and posible.

  • Simulation pret immobilier Wednesday, May 13, 2009

    Your notes are really nice. I am sure it would work.

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.