blob: 2fe8e0c02cd4f3ec5efa5b222a9dad31737fd645 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>What's New in NetBeans Platform 7.2?</title>
<link rel="stylesheet" type="text/css" href="https://netbeans.org/netbeans.css"/>
<meta name="AUDIENCE" content="NBUSER"/>
<meta name="TYPE" content="ARTICLE"/>
<meta name="EXPIRES" content="N"/>
<meta name="developer" content="gwielenga@netbeans.org"/>
<meta name="indexed" content="y"/>
<meta name="description" content="Overview of new features in NetBeans Platform 7.2"/>
</head>
<body>
<h1>What's New in NetBeans Platform 7.2?</h1>
<p>An overview of changes relating to
<a href="https://platform.netbeans.org/">NetBeans Platform 7.2</a>, which is the
Swing framework that underpins applications such as NetBeans IDE.</p>
<p><b>Note:</b> <a href="71.html">Click here</a> for the previous
release of this document.</p>
<p>The main new features & enhancements provided in the 7.2 release
are as follows:
<div class="indent">
<ol>
<li><b>Annotations.</b>
<p></p>
<ul>
<li><p><b><a href="http://bits.netbeans.org/dev/javadoc/org-openide-awt/org/openide/awt/ActionRegistration.html#lazy()">@ActionRegistration has new attribute "lazy"</a></b> </p></li>
<li><p><b><a href="http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-sendopts/org/netbeans/spi/sendopts/Arg.html">@Arg</a></b> </p></li>
<li><p><b><a href="http://bits.netbeans.org/dev/javadoc/org-openide-loaders/org/openide/loaders/DataObject.Registration.html">@DataObject.Registration</a></b> </p></li>
<li><p><b><a href="http://bits.netbeans.org/dev/javadoc/org-netbeans-spi-navigator/org/netbeans/spi/navigator/NavigatorPanel.Registration.html">@NavigatorPanel.Registration</a></b> </p></li>
<li><p><b><a href="http://bits.netbeans.org/dev/javadoc/org-openide-util/apichanges.html#Messages.fields">@NbBundle.Messages available on fields</a></b> </p></li>
<li><p><b><a href="http://bits.netbeans.org/dev/javadoc/org-openide-windows/org/openide/windows/OnShowing.html">@OnShowing</a></b> </p></li>
<li><p><b><a href="http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/OnStart.html">@OnStart</a></b> </p></li>
<li><p><b><a href="http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/OnStop.html">@OnStop</a></b> </p></li>
<li><p><b><a href="http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-projectui/org/netbeans/modules/project/ui/api/ProjectTemplates.html">@ProjectTemplates</a></b> </p></li>
<li><p><b><a href="http://bits.netbeans.org/dev/javadoc/org-netbeans-api-annotations-common/org/netbeans/api/annotations/common/StaticResource.html">@StaticResource</a></b> </p></li>
</ul>
</li>
<li><b>Window System</b>
<p>New features and enhancements in the NetBeans window system:</p>
<ul>
<li><b>Custom Implementations of Tab Control.</b> The new TabbedComponentFactory class
allows custom implementations of tab control to be used in the window system. (<a href="https://blogs.oracle.com/geertjan/entry/youtube_how_to_rewrite_the">More details...</a>)</li>
<li><b>Multirow Editor & Editor Placement.</b> It is possible to have multiple
rows of editor tabs and to change the tab placement (top/bottom/left/right).
See menu Tools - Options - Miscellaneous - Windows. (<a href="https://blogs.oracle.com/geertjan/entry/upcoming_netbeans_feature_multi_row">More details...</a>)</li>
<li><b>Window Switcher.</b> The popup window that
shows when pressing Ctrl+TAB keys now includes non-document windows
(Projects, Navigator etc) and also inner tabs in document windows
(Source/Design/History). (<a href="https://blogs.oracle.com/geertjan/entry/ctrl_tab_in_netbeans_ide">More details...</a>)</li>
<li><b>Animated Notifications.</b> A window header can have (animated)
notification that it is currently busy, e.g. it's content
is being loaded. (<a href="http://www.pellissier.co.za/hermien/?p=279">More details...</a>)</li>
</ul>
</li>
<li><b>UI Utilities API</b>
<ul>
<li><b><a href="http://bits.netbeans.org/dev/javadoc/org-openide-awt/org/openide/awt/Actions.html#forID(java.lang.String, java.lang.String)">Actions.forID</a>.</b> Given a @ActionID(category=Constants.CATEGORY, id=Constants.ID), it
is often useful to load that Action for some sort of programmatic presentation.</li>
</ul>
</li>
<li><b>Explorer & Property Sheet API</b>
<ul>
<li><b>Quick Search.</b> You can quickly navigate
to the desired element in an OutlineView via Quick Search
navigation. Start typing the name of the element you're
looking for and the view navigates to the nearest cell matching
that name. </p>
<p>The following methods are introduced to
control the quick search functionality on OutlineView:</p>
<p><ul>
<li><a href="http://bits.netbeans.org/dev/javadoc/org-openide-explorer/org/openide/explorer/view/OutlineView.html#isQuickSearchAllowed()">OutlineView.isQuickSearchAllowed()</a></li>
<li><a href="http://bits.netbeans.org/dev/javadoc/org-openide-explorer/org/openide/explorer/view/OutlineView.html#setQuickSearchAllowed()">OutlineView.setQuickSearchAllowed()</a></li>
<li><a href="http://bits.netbeans.org/dev/javadoc/org-openide-explorer/org/openide/explorer/view/OutlineView.html#setQuickSearchTableFilter()">OutlineView.setQuickSearchTableFilter()</a></li>
</ul></p>
<p>The <a href="http://bits.netbeans.org/dev/javadoc/org-openide-explorer/org/openide/explorer/view/QuickSearchTableFilter.html">QuickSearchTableFilter</a> interface is introduced to provide
custom table cell data for quick search. The
user can customize the search process via
a pop-up menu on the search icon. Case matching can be
turned on or off and desired columns that are to be subject
of the search can be selected.</p>
<p>The <a href="http://bits.netbeans.org/dev/javadoc/org-openide-awt/org/openide/awt/QuickSearch.html">QuickSearch</a> class is added to attach a quick
search functionality to an arbitrary component.</p>
</li>
</ul>
</li>
</ol>
</div>
<p>For a list of all the changes, see <a href="http://bits.netbeans.org/dev/javadoc/apichanges.html">http://bits.netbeans.org/dev/javadoc/apichanges.html</a></p>
</body>
</html>