PageRenderTime 53ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 1ms

/substance/www/release-info/2.2/release-info.html

https://github.com/alexandraleahu/insubstantial
HTML | 350 lines | 328 code | 22 blank | 0 comment | 0 complexity | 0bb80fc716f5a3a4999e8e1eed5d863b MD5 | raw file
Possible License(s): BSD-3-Clause, Apache-2.0, CC-BY-SA-3.0, LGPL-2.1, MPL-2.0-no-copyleft-exception
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  5. <title>Substance 2.2 release</title>
  6. </head>
  7. <body>
  8. <h1>Substance 2.2 <font color="darkblue">El Paso</font> - new features</h1>
  9. <table border="0" cellpadding="10" cellspacing="0" width="100%">
  10. <tr>
  11. <td colspan="2">
  12. <hr>
  13. </td>
  14. </tr>
  15. <tr>
  16. <td width="20%" valign="top" align="left">
  17. <p align="right"><b>Localization and internationalization</b></td>
  18. <td width="80%" valign="top">All <b>Substance</b>-specific labels (system
  19. menu entries, Xoetrope color chooser panel, heap status panel, menu search panel, ...)
  20. are internationalized. See <a href="../../docs/internationalization.html">this document</a>
  21. for the list of available translations.
  22. <br><br>
  23. <table border=0>
  24. <tr>
  25. <td>
  26. <img src="localization-system-menu.png" width="297" height="188"><br><br>
  27. <img src="localization-menu-search.png" width="234" height="47"><br><br>
  28. <img src="localization-menu-search2.png" width="205" height="50"><br><br>
  29. <img src="localization-heap-panel.png" width="177" height="40"><br><br>
  30. </td>
  31. <td>
  32. <img src="localization-color-chooser.png" width="269" height="463">
  33. </td>
  34. </tr>
  35. </table>
  36. </td>
  37. </tr>
  38. <tr>
  39. <td colspan="2">
  40. <hr>
  41. </td>
  42. </tr>
  43. <tr>
  44. <td width="20%" valign="top" align="left">
  45. <p align="right"><b>Vertical (rotated) tabs in tabbed panes</b></td>
  46. <td width="80%" valign="top">Tabs in tabbed panes under <b>LEFT</b> and
  47. <b>RIGHT</b> placement can be layed out vertically (rotated). In addition,
  48. the icon can be drawn either rotated (with the tab) or unrotated. See <a
  49. href="http://weblogs.java.net/blog/kirillcool/archive/2005/12/spicing_up_your_1.html">this blog entry</a>
  50. for the description on how to use this feature.
  51. <br><br><img src="tabs-vertical.png" width="273" height="317">
  52. </td>
  53. </tr>
  54. <tr>
  55. <td colspan="2">
  56. <hr>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td width="20%" valign="top" align="left">
  61. <p align="right"><b>Strength checking on passwords</b></td>
  62. <td width="80%" valign="top">Password fields can provide visual feedback
  63. on the strength of the currently set contents (password). See <a
  64. href="http://weblogs.java.net/blog/kirillcool/archive/2005/12/visual_feedback.html">this blog entry</a>
  65. for the description on how to use this feature. See <a href="password-strength.avi">22-second</a> AVI
  66. movie (412 KB) illustrating the technique.
  67. <br><br>
  68. <img src="password-strength-weak.png" width="250" height="48"><br><br>
  69. <img src="password-strength-medium.png" width="250" height="59"><br><br>
  70. <img src="password-strength-strong.png" width="250" height="51">
  71. </td>
  72. </tr>
  73. <tr>
  74. <td colspan="2">
  75. <hr>
  76. </td>
  77. </tr>
  78. <tr>
  79. <td width="20%" valign="top" align="left">
  80. <p align="right"><b>Specular gradient painter for buttons</b></td>
  81. <td width="80%" valign="top">Added optional specular gradient painter for buttons. Can be set using:
  82. <ul>
  83. <li><font color="darkblue">-Dsubstancelaf.gradientPainter=org.jvnet.substance.painter.SpecularGradientPainter</font>
  84. - for all application buttons.
  85. <li><font color="darkblue">SubstanceLookAndFeel.setCurrentGradientPainter("org.jvnet.substance.painter.SpecularGradientPainter")</font>
  86. - for all application buttons.
  87. <li><font color="darkblue">SubstanceLookAndFeel.setCurrentGradientPainter(new SpecularGradientPainter())</font>
  88. - for all application buttons.
  89. <li>Using client property <font color="darkblue">SubstanceLookAndFeel.GRADIENT_PAINTER_PROPERTY</font>
  90. on a specific button. Value should be <font color="darkblue">"org.jvnet.substance.painter.SpecularGradientPainter"</font>
  91. string.
  92. </ul>
  93. <img src="specular-highlight.png" width="206" height="139">
  94. </td>
  95. </tr>
  96. <tr>
  97. <td colspan="2">
  98. <hr>
  99. </td>
  100. </tr>
  101. <tr>
  102. <td width="20%" valign="top" align="left">
  103. <p align="right"><b>Focus ring kinds</b></td>
  104. <td width="80%" valign="top">Added option to specify the focus ring kind. The focus ring kind is
  105. specified in the <font color="darkblue">org.jvnet.substance.utils.SubstanceConstants.FocusKind</font>
  106. enum and can be specified on any component. At runtime, the value is taken from:
  107. <ul>
  108. <li>The component itself.
  109. <li>The closest parent of the component.
  110. <li>The <b>UIManager</b> table.
  111. </ul>
  112. The default value is <b>FocusKind.ALL_INNER</b>:<br><br>
  113. <img src="focus-all-inner.png" width="91" height="53">
  114. </td>
  115. </tr>
  116. <tr>
  117. <td colspan="2">
  118. <hr>
  119. </td>
  120. </tr>
  121. <tr>
  122. <td width="20%" valign="top" align="left">
  123. <p align="right"><b>Watermark bleeding</b></td>
  124. <td width="80%" valign="top">Added option to specify that the watermark should "bleed"
  125. through opaque trees, lists and tables. When this option is turned on, the watermark
  126. is drawn with 40% translucency on text fields. This option can be turned on by specifying:
  127. <ul>
  128. <li><font color="darkblue">-Dsubstancelaf.watermark.tobleed</font> - no value needed.
  129. <li><font color="darkblue">UIManager.put(SubstanceLookAndFeel.WATERMARK_TO_BLEED,
  130. Boolean.TRUE);</font>
  131. </ul>
  132. Note that this option will have no effect on cell renderers that fill their
  133. background programmatically (as shown in the below image on the selected
  134. tree entry):<br><br>
  135. <img src="watermark-bleed.png" width="239" height="180">
  136. <br><br><img src="watermark-bleed-text.png" width="385" height="211">
  137. </td>
  138. </tr>
  139. <tr>
  140. <td colspan="2">
  141. <hr>
  142. </td>
  143. </tr>
  144. <tr>
  145. <td width="20%" valign="top" align="left">
  146. <p align="right"><b>Watermark ignore</b></td>
  147. <td width="80%" valign="top">Added option to specify that the watermark should not be drawn
  148. on a specific component or at all. This option can be turned on by specifying:
  149. <ul>
  150. <li><font color="darkblue">component.putClientProperty(SubstanceLookAndFeel.WATERMARK_IGNORE,
  151. Boolean.TRUE);</font>
  152. <li><font color="darkblue">UIManager.put(SubstanceLookAndFeel.WATERMARK_IGNORE,
  153. Boolean.TRUE);</font>
  154. </ul>
  155. <img src="watermark-bleed-ignore.png" width="537" height="195">
  156. </td>
  157. </tr>
  158. <tr>
  159. <td colspan="2">
  160. <hr>
  161. </td>
  162. </tr>
  163. <tr>
  164. <td width="20%" valign="top" align="left">
  165. <p align="right"><b>Specifying base and extra font size</b></td>
  166. <td width="80%" valign="top">Added API for setting base and extra font size for
  167. all the controls. The following two functions are provided in the
  168. <b>SubstanceLookAndFeel</b>:
  169. <ul>
  170. <li><font color="darkblue">public static void setBasicFontSize(int value);</font>
  171. <li><font color="darkblue">public static void setFontSizeExtra(int value);</font>
  172. </ul>
  173. The default base font size is OS-specific (13 points for Mac, 11 points for other OSes).
  174. The default font family is OS-specific (<b>Lucida Grande</b> for Mac, <b>Tahoma</b>
  175. for other OSes where available, except under Korean, Chinese and Thai locale, and
  176. <b>dialog</b> otherwise).<br><br>
  177. <img src="font-size-minus1.png" width="207" height="109">
  178. <img src="font-size-default.png" width="207" height="112">
  179. <img src="font-size-plus1.png" width="207" height="113">
  180. </tr>
  181. <tr>
  182. <td colspan="2">
  183. <hr>
  184. </td>
  185. </tr>
  186. <tr>
  187. <td width="20%" valign="top" align="left">
  188. <p align="right"><b>Toolbar buttons</b></td>
  189. <td width="80%" valign="top">Buttons in toolbar are flat. Only on rollover (fade in / fade out)
  190. the background is seen.<br><br>
  191. <img src="toolbar-buttons.png" width="123" height="84"><br><br>
  192. Before:<br>
  193. <img src="toolbar-buttons-before.png" width="435" height="39"><br><br>
  194. After:<br>
  195. <img src="toolbar-buttons-after.png" width="435" height="39">
  196. </td>
  197. </tr>
  198. <tr>
  199. <td colspan="2">
  200. <hr>
  201. </td>
  202. </tr>
  203. <tr>
  204. <td width="20%" valign="top" align="left">
  205. <p align="right"><b>Support for Matisse baseline alignment</b></td>
  206. <td width="80%" valign="top">The <a href="https://substance-netbeans.dev.java.net">Substance
  207. Netbeans</a> module provides support for baseline alignment in Matisse UI designer.<br><br>
  208. <img src="netbeans-baseline.png" width="372" height="47">
  209. </td>
  210. </tr>
  211. <tr>
  212. <td colspan="2">
  213. <hr>
  214. </td>
  215. </tr>
  216. <tr>
  217. <td width="20%" valign="top" align="left">
  218. <p align="right"><b>Gradient background on menu icons</b></td>
  219. <td width="80%" valign="top">The "icon gutter" on menus (regular and popup)
  220. has theme-based gradient background. In addition, the menu separator is not
  221. drawn in the icon gutter area.<br><br>
  222. <img src="menu-icon-gutter.png" width="255" height="261">
  223. </td>
  224. </tr>
  225. <tr>
  226. <td colspan="2">
  227. <hr>
  228. </td>
  229. </tr>
  230. <tr>
  231. <td width="20%" valign="top" align="left">
  232. <p align="right"><b>Marking non-editable text components</b></td>
  233. <td width="80%" valign="top">Non-editable text components display an overlayed lock icon:
  234. <br><br>
  235. <img src="lock-textfield.png" width="180" height="50">
  236. <img src="lock-textpane.png" width="251" height="55">
  237. </td>
  238. </tr>
  239. <tr>
  240. <td colspan="2">
  241. <hr>
  242. </td>
  243. </tr>
  244. <tr>
  245. <td width="20%" valign="top" align="left">
  246. <p align="right"><b>Auto-completion on editable comboboxes</b></td>
  247. <td width="80%" valign="top">Merged refactored version of
  248. <a href="http://www.orbital-computer.de/JComboBox">auto-completion support</a>
  249. in editable comboboxes by <b>Thomas Bierhance</b>.<br><br>
  250. <img src="combobox-auto-completion.png" width="102" height="114">
  251. <br><br>
  252. Editable comboboxes marked with <font color="darkblue">SubstanceLookAndFeel.COMBO_BOX_USE_MODEL_ONLY</font>
  253. property allow completion-only (no other values allowed). In this case, a lock icon
  254. is overlayed on the combobox:
  255. <br><br>
  256. <img src="lock-combobox.png" width="271" height="55">
  257. </td>
  258. </tr>
  259. <tr>
  260. <td colspan="2">
  261. <hr>
  262. </td>
  263. </tr>
  264. <tr>
  265. <td width="20%" valign="top" align="left">
  266. <p align="right"><b>Translucency-based animation for title pane buttons</b></td>
  267. <td width="80%" valign="top">The title pane buttons (minimize, restore / maximize, close)
  268. of frames, dialogs, internal frames and desktop icons have translucency-based animation
  269. on rollover. See <a href="title-buttons.avi">34-second</a> AVI
  270. movie (798 KB) illustrating the technique.
  271. </td>
  272. </tr>
  273. <tr>
  274. <td colspan="2">
  275. <hr>
  276. </td>
  277. </tr>
  278. <tr>
  279. <td width="20%" valign="top" align="left">
  280. <p align="right"><b>Rollover color wheel effects</b></td>
  281. <td width="80%" valign="top">Xoetrope's color wheel in the color chooser
  282. has been augmented with rollover effects. In the screenshot you can see
  283. the selected area and the rollover area (under the mouse pointer):<br><br>
  284. <img src="colorchooser-xoetrope-rollover.png" width="269" height="463">
  285. </td>
  286. </tr>
  287. <tr>
  288. <td colspan="2">
  289. <hr>
  290. </td>
  291. </tr>
  292. <tr>
  293. <td width="20%" valign="top" align="left">
  294. <p align="right"><b>Configurable size of tab close button</b></td>
  295. <td width="80%" valign="top">The size of close button on tabs in <b>JTabbedPane</b>
  296. can be configured. Application should set
  297. <font color="darkblue">SubstanceLookAndFeel.TABBED_PANE_CLOSE_BUTTONS_SIZE</font>
  298. client property on either the tabbed pane's <b>Component</b> (if it's <b>JComponent</b>),
  299. <b>JTabbedPane</b> (for all tabs of that pane) or the <b>UIManager</b>
  300. (for all tabbed panes). The value should be an instance of <b>Integer</b>. In the
  301. screenshot the first tab has close button size set to 9, the second tab is default 11.
  302. <br><br>
  303. <img src="tabs-close-button-size.png" width="171" height="26">
  304. </td>
  305. </tr>
  306. <tr>
  307. <td colspan="2">
  308. <hr>
  309. </td>
  310. </tr>
  311. <tr>
  312. <td width="20%" valign="top" align="left">
  313. <p align="right"><b>Animating close buttons of modified tabs</b></td>
  314. <td width="80%" valign="top">Instead of animating the entire modified tab in <b>JTabbedPane</b>,
  315. only its close button can be animated. Application should set
  316. <font color="darkblue">SubstanceLookAndFeel.TABBED_PANE_CLOSE_BUTTONS_MODIFIED_ANIMATION</font>
  317. client property on either the tabbed pane's <b>Component</b> (if it's <b>JComponent</b>),
  318. <b>JTabbedPane</b> (for all tabs of that pane) or the <b>UIManager</b>
  319. (for all tabbed panes). The value should be an instance of <b>Boolean</b>. In the
  320. screenshot the first tab has animated close button, the second tab is completely animated by
  321. default.
  322. <br><br>
  323. <img src="tab-close-modified-animation.png" width="173" height="26">
  324. </td>
  325. </tr>
  326. </table>
  327. </body>
  328. </html>