Permalink
Browse files

copyright

Locale
  • Loading branch information...
1 parent 73e7465 commit e6f3d8552ab90ccaa91e4b44fb779480328848b6 Pieter Libin committed Jul 7, 2009
Showing with 1,565 additions and 129 deletions.
  1. +355 −0 LICENSE
  2. +5 −0 examples/bobsmith/src/eu/webtoolkit/jwt/examples/bobsmith/BobSmithMain.java
  3. +5 −0 examples/charts/src/eu/webtoolkit/jwt/examples/charts/ChartConfig.java
  4. +5 −0 examples/charts/src/eu/webtoolkit/jwt/examples/charts/ChartsExample.java
  5. +5 −0 examples/charts/src/eu/webtoolkit/jwt/examples/charts/ChartsMain.java
  6. +5 −0 examples/charts/src/eu/webtoolkit/jwt/examples/charts/PanelList.java
  7. +5 −0 examples/charts/src/eu/webtoolkit/jwt/examples/charts/csv/CsvUtil.java
  8. +5 −0 examples/composer/src/eu/webtoolkit/jwt/examples/composer/AddresseeEdit.java
  9. +5 −0 examples/composer/src/eu/webtoolkit/jwt/examples/composer/Attachment.java
  10. +5 −0 examples/composer/src/eu/webtoolkit/jwt/examples/composer/AttachmentEdit.java
  11. +5 −0 examples/composer/src/eu/webtoolkit/jwt/examples/composer/ComposeExample.java
  12. +5 −0 examples/composer/src/eu/webtoolkit/jwt/examples/composer/Composer.java
  13. +5 −0 examples/composer/src/eu/webtoolkit/jwt/examples/composer/ComposerMain.java
  14. +5 −0 examples/composer/src/eu/webtoolkit/jwt/examples/composer/Contact.java
  15. +5 −0 examples/composer/src/eu/webtoolkit/jwt/examples/composer/ContactSuggestions.java
  16. +5 −0 examples/composer/src/eu/webtoolkit/jwt/examples/composer/Label.java
  17. +5 −0 examples/composer/src/eu/webtoolkit/jwt/examples/composer/Option.java
  18. +5 −0 examples/composer/src/eu/webtoolkit/jwt/examples/composer/OptionList.java
  19. +5 −0 examples/dialog/src/eu/webtoolkit/jwt/examples/dialog/DialogApplication.java
  20. +5 −0 examples/dialog/src/eu/webtoolkit/jwt/examples/dialog/DialogMain.java
  21. +5 −0 examples/dragdrop/src/eu/webtoolkit/jwt/examples/dragdrop/Character.java
  22. +5 −0 examples/dragdrop/src/eu/webtoolkit/jwt/examples/dragdrop/DragExample.java
  23. +5 −0 examples/dragdrop/src/eu/webtoolkit/jwt/examples/dragdrop/DragMain.java
  24. +5 −0 examples/filetreetable/src/eu/webtoolkit/jwt/examples/filetreetable/FileTreeExample.java
  25. +5 −0 examples/filetreetable/src/eu/webtoolkit/jwt/examples/filetreetable/FileTreeTable.java
  26. +5 −0 examples/filetreetable/src/eu/webtoolkit/jwt/examples/filetreetable/FileTreeTableNode.java
  27. +5 −0 examples/form/src/eu/webtoolkit/jwt/examples/form/Form.java
  28. +11 −5 examples/form/src/eu/webtoolkit/jwt/examples/form/FormExample.java
  29. +5 −0 examples/form/src/eu/webtoolkit/jwt/examples/form/FormMain.java
  30. +5 −0 examples/hello/src/eu/webtoolkit/jwt/examples/hello/HelloApplication.java
  31. +5 −0 examples/hello/src/eu/webtoolkit/jwt/examples/hello/HelloMain.java
  32. +5 −0 examples/hellowidgetset/src/eu/webtoolkit/jwt/examples/hellowidgetset/HelloMain.java
  33. +5 −0 examples/hellowidgetset/src/eu/webtoolkit/jwt/examples/hellowidgetset/HelloWidgetSetApplication.java
  34. +5 −0 examples/hellowidgetset/src/eu/webtoolkit/jwt/examples/hellowidgetset/HelloWidgetSetMain.java
  35. +5 −0 examples/javascript/src/eu/webtoolkit/jwt/examples/javascript/JavaScriptExample.java
  36. +5 −0 examples/javascript/src/eu/webtoolkit/jwt/examples/javascript/JavaScriptMain.java
  37. +5 −0 examples/javascript/src/eu/webtoolkit/jwt/examples/javascript/Popup.java
  38. +5 −0 examples/mandelbrot/src/eu/webtoolkit/jwt/examples/mandelbrot/MandelbrotExample.java
  39. +5 −0 examples/mandelbrot/src/eu/webtoolkit/jwt/examples/mandelbrot/MandelbrotImage.java
  40. +5 −0 examples/mandelbrot/src/eu/webtoolkit/jwt/examples/mandelbrot/MandelbrotMain.java
  41. +5 −0 examples/mandelbrot/src/eu/webtoolkit/jwt/examples/mandelbrot/MandelbrotResource.java
  42. +5 −0 examples/mission/src/eu/webtoolkit/jwt/examples/mission/CountDownWidget.java
  43. +5 −0 examples/mission/src/eu/webtoolkit/jwt/examples/mission/MissionImpossibleMain.java
  44. +5 −0 examples/painting/src/eu/webtoolkit/jwt/examples/painting/PaintExample.java
  45. +5 −0 examples/painting/src/eu/webtoolkit/jwt/examples/painting/PaintMain.java
  46. +5 −0 examples/painting/src/eu/webtoolkit/jwt/examples/painting/ShapesWidget.java
  47. +5 −0 examples/style/src/eu/webtoolkit/jwt/examples/style/CornerImage.java
  48. +5 −0 examples/style/src/eu/webtoolkit/jwt/examples/style/RoundedWidget.java
  49. +5 −0 examples/style/src/eu/webtoolkit/jwt/examples/style/StyleExample.java
  50. +5 −0 examples/style/src/eu/webtoolkit/jwt/examples/style/StyleMain.java
  51. +5 −0 examples/textedit/src/eu/webtoolkit/jwt/examples/textedit/TextEditExample.java
  52. +5 −0 examples/treeview/src/eu/webtoolkit/jwt/examples/treeview/TreeViewApplication.java
  53. +5 −0 examples/treeview/src/eu/webtoolkit/jwt/examples/treeview/TreeViewExample.java
  54. +5 −0 examples/treeview/src/eu/webtoolkit/jwt/examples/treeview/TreeViewMain.java
  55. +5 −0 examples/treeviewdragdrop/src/eu/webtoolkit/jwt/examples/treeviewdragdrop/FileEditDialog.java
  56. +5 −0 examples/treeviewdragdrop/src/eu/webtoolkit/jwt/examples/treeviewdragdrop/FileModel.java
  57. +5 −0 examples/treeviewdragdrop/src/eu/webtoolkit/jwt/examples/treeviewdragdrop/FolderView.java
  58. +5 −0 ...treeviewdragdrop/src/eu/webtoolkit/jwt/examples/treeviewdragdrop/TreeViewDragDropApplication.java
  59. +5 −0 examples/treeviewdragdrop/src/eu/webtoolkit/jwt/examples/treeviewdragdrop/TreeViewDragDropMain.java
  60. +5 −0 examples/treeviewdragdrop/src/eu/webtoolkit/jwt/examples/treeviewdragdrop/csv/CsvUtil.java
  61. +5 −0 src/eu/webtoolkit/jwt/AbstractEventSignal.java
  62. +5 −0 src/eu/webtoolkit/jwt/AbstractJSignal.java
  63. +5 −1 src/eu/webtoolkit/jwt/AbstractSignal.java
  64. +5 −0 src/eu/webtoolkit/jwt/Configuration.java
  65. +5 −0 src/eu/webtoolkit/jwt/DomElement.java
  66. +5 −0 src/eu/webtoolkit/jwt/EscapeOStream.java
  67. +5 −0 src/eu/webtoolkit/jwt/EventSignal.java
  68. +5 −0 src/eu/webtoolkit/jwt/EventSignal1.java
  69. +5 −0 src/eu/webtoolkit/jwt/FileServe.java
  70. +2 −4 src/eu/webtoolkit/jwt/JSignal.java
  71. +2 −4 src/eu/webtoolkit/jwt/JSignal1.java
  72. +2 −4 src/eu/webtoolkit/jwt/JSignal2.java
  73. +2 −4 src/eu/webtoolkit/jwt/JSignal3.java
  74. +2 −4 src/eu/webtoolkit/jwt/JSignal4.java
  75. +2 −4 src/eu/webtoolkit/jwt/JSignal5.java
  76. +2 −4 src/eu/webtoolkit/jwt/JSignal6.java
  77. +5 −0 src/eu/webtoolkit/jwt/MapUtils.java
  78. +5 −0 src/eu/webtoolkit/jwt/MatchOptions.java
  79. +2 −4 src/eu/webtoolkit/jwt/Signal.java
  80. +2 −4 src/eu/webtoolkit/jwt/Signal1.java
  81. +2 −4 src/eu/webtoolkit/jwt/Signal2.java
  82. +2 −4 src/eu/webtoolkit/jwt/Signal3.java
  83. +2 −4 src/eu/webtoolkit/jwt/Signal4.java
  84. +2 −4 src/eu/webtoolkit/jwt/Signal5.java
  85. +2 −4 src/eu/webtoolkit/jwt/Signal6.java
  86. +5 −0 src/eu/webtoolkit/jwt/SignalImpl.java
  87. +5 −0 src/eu/webtoolkit/jwt/SlotType.java
  88. +5 −0 src/eu/webtoolkit/jwt/SoundManager.java
  89. +5 −0 src/eu/webtoolkit/jwt/StdGridLayoutImpl.java
  90. +5 −0 src/eu/webtoolkit/jwt/StdLayoutImpl.java
  91. +5 −0 src/eu/webtoolkit/jwt/StdLayoutItemImpl.java
  92. +5 −0 src/eu/webtoolkit/jwt/StdWidgetItemImpl.java
  93. +5 −0 src/eu/webtoolkit/jwt/Time.java
  94. +5 −0 src/eu/webtoolkit/jwt/WAbstractArea.java
  95. +5 −0 src/eu/webtoolkit/jwt/WAbstractItemDelegate.java
  96. +5 −0 src/eu/webtoolkit/jwt/WAbstractItemModel.java
  97. +5 −0 src/eu/webtoolkit/jwt/WAbstractListModel.java
  98. +5 −0 src/eu/webtoolkit/jwt/WAbstractProxyModel.java
  99. +5 −0 src/eu/webtoolkit/jwt/WAbstractTableModel.java
  100. +5 −0 src/eu/webtoolkit/jwt/WAbstractToggleButton.java
  101. +5 −0 src/eu/webtoolkit/jwt/WAnchor.java
  102. +11 −7 src/eu/webtoolkit/jwt/WApplication.java
  103. +5 −0 src/eu/webtoolkit/jwt/WBorder.java
  104. +5 −0 src/eu/webtoolkit/jwt/WBorderLayout.java
  105. +5 −0 src/eu/webtoolkit/jwt/WBoxLayout.java
  106. +5 −0 src/eu/webtoolkit/jwt/WBreak.java
  107. +5 −0 src/eu/webtoolkit/jwt/WBrush.java
  108. +5 −0 src/eu/webtoolkit/jwt/WButtonGroup.java
  109. +5 −0 src/eu/webtoolkit/jwt/WCalendar.java
  110. +5 −0 src/eu/webtoolkit/jwt/WCanvasPaintDevice.java
  111. +5 −0 src/eu/webtoolkit/jwt/WCheckBox.java
  112. +5 −0 src/eu/webtoolkit/jwt/WCircleArea.java
  113. +5 −0 src/eu/webtoolkit/jwt/WColor.java
  114. +5 −0 src/eu/webtoolkit/jwt/WComboBox.java
  115. +5 −0 src/eu/webtoolkit/jwt/WCompositeWidget.java
  116. +5 −0 src/eu/webtoolkit/jwt/WContainerWidget.java
  117. +5 −0 src/eu/webtoolkit/jwt/WCssDecorationStyle.java
  118. +5 −0 src/eu/webtoolkit/jwt/WCssStyleSheet.java
  119. +5 −0 src/eu/webtoolkit/jwt/WDate.java
  120. +5 −0 src/eu/webtoolkit/jwt/WDatePicker.java
  121. +5 −0 src/eu/webtoolkit/jwt/WDateValidator.java
  122. +5 −0 src/eu/webtoolkit/jwt/WDefaultLoadingIndicator.java
  123. +5 −0 src/eu/webtoolkit/jwt/WDialog.java
  124. +5 −0 src/eu/webtoolkit/jwt/WDoubleValidator.java
  125. +10 −5 src/eu/webtoolkit/jwt/WEnvironment.java
  126. +5 −0 src/eu/webtoolkit/jwt/WFileResource.java
  127. +5 −0 src/eu/webtoolkit/jwt/WFileUpload.java
  128. +5 −0 src/eu/webtoolkit/jwt/WFlashObject.java
  129. +5 −0 src/eu/webtoolkit/jwt/WFont.java
  130. +5 −0 src/eu/webtoolkit/jwt/WFormWidget.java
  131. +5 −0 src/eu/webtoolkit/jwt/WGridLayout.java
  132. +5 −0 src/eu/webtoolkit/jwt/WGroupBox.java
  133. +5 −0 src/eu/webtoolkit/jwt/WHBoxLayout.java
  134. +5 −0 src/eu/webtoolkit/jwt/WIconPair.java
  135. +5 −0 src/eu/webtoolkit/jwt/WImage.java
  136. +5 −0 src/eu/webtoolkit/jwt/WInPlaceEdit.java
  137. +5 −0 src/eu/webtoolkit/jwt/WIntValidator.java
  138. +5 −0 src/eu/webtoolkit/jwt/WInteractWidget.java
  139. +5 −0 src/eu/webtoolkit/jwt/WItemDelegate.java
  140. +5 −0 src/eu/webtoolkit/jwt/WItemSelectionModel.java
  141. +5 −0 src/eu/webtoolkit/jwt/WLabel.java
  142. +5 −0 src/eu/webtoolkit/jwt/WLayout.java
  143. +5 −0 src/eu/webtoolkit/jwt/WLayoutItem.java
  144. +5 −0 src/eu/webtoolkit/jwt/WLayoutItemImpl.java
  145. +5 −0 src/eu/webtoolkit/jwt/WLength.java
  146. +5 −0 src/eu/webtoolkit/jwt/WLengthValidator.java
  147. +5 −0 src/eu/webtoolkit/jwt/WLineEdit.java
  148. +5 −0 src/eu/webtoolkit/jwt/WLineF.java
  149. +5 −0 src/eu/webtoolkit/jwt/WLoadingIndicator.java
  150. +5 −0 src/eu/webtoolkit/jwt/WLocalizedStrings.java
  151. +5 −0 src/eu/webtoolkit/jwt/WLogEntry.java
  152. +5 −0 src/eu/webtoolkit/jwt/WLogger.java
  153. +5 −0 src/eu/webtoolkit/jwt/WMemoryResource.java
  154. +5 −0 src/eu/webtoolkit/jwt/WMenu.java
  155. +5 −0 src/eu/webtoolkit/jwt/WMenuItem.java
  156. +5 −0 src/eu/webtoolkit/jwt/WMessageBox.java
  157. +5 −0 src/eu/webtoolkit/jwt/WModelIndex.java
  158. +1 −2 src/eu/webtoolkit/jwt/WObject.java
  159. +5 −0 src/eu/webtoolkit/jwt/WOverlayLoadingIndicator.java
  160. +5 −0 src/eu/webtoolkit/jwt/WPaintDevice.java
  161. +5 −0 src/eu/webtoolkit/jwt/WPaintedWidget.java
  162. +5 −0 src/eu/webtoolkit/jwt/WPainter.java
  163. +5 −0 src/eu/webtoolkit/jwt/WPainterPath.java
  164. +5 −0 src/eu/webtoolkit/jwt/WPanel.java
  165. +5 −0 src/eu/webtoolkit/jwt/WPen.java
  166. +5 −0 src/eu/webtoolkit/jwt/WPoint.java
  167. +5 −0 src/eu/webtoolkit/jwt/WPointF.java
  168. +5 −0 src/eu/webtoolkit/jwt/WPolygonArea.java
  169. +5 −0 src/eu/webtoolkit/jwt/WPopupMenu.java
  170. +5 −0 src/eu/webtoolkit/jwt/WPopupMenuItem.java
  171. +5 −0 src/eu/webtoolkit/jwt/WPushButton.java
  172. +5 −0 src/eu/webtoolkit/jwt/WRadioButton.java
  173. +5 −0 src/eu/webtoolkit/jwt/WRectArea.java
  174. +5 −0 src/eu/webtoolkit/jwt/WRectF.java
  175. +5 −0 src/eu/webtoolkit/jwt/WRegExpValidator.java
  176. +5 −0 src/eu/webtoolkit/jwt/WResource.java
  177. +5 −0 src/eu/webtoolkit/jwt/WScrollArea.java
  178. +5 −0 src/eu/webtoolkit/jwt/WScrollBar.java
  179. +5 −0 src/eu/webtoolkit/jwt/WSelectionBox.java
  180. +5 −0 src/eu/webtoolkit/jwt/WSignalMapper1.java
  181. +5 −0 src/eu/webtoolkit/jwt/WSignalMapper2.java
  182. +5 −0 src/eu/webtoolkit/jwt/WSlider.java
  183. +5 −0 src/eu/webtoolkit/jwt/WSortFilterProxyModel.java
  184. +5 −0 src/eu/webtoolkit/jwt/WSound.java
  185. +5 −0 src/eu/webtoolkit/jwt/WStackedWidget.java
  186. +5 −0 src/eu/webtoolkit/jwt/WStandardItem.java
  187. +5 −0 src/eu/webtoolkit/jwt/WStandardItemModel.java
  188. +6 −1 src/eu/webtoolkit/jwt/WStdLocalizedStrings.java
  189. +5 −0 src/eu/webtoolkit/jwt/WString.java
  190. +5 −0 src/eu/webtoolkit/jwt/WStringListModel.java
  191. +5 −0 src/eu/webtoolkit/jwt/WSubMenuItem.java
  192. +5 −0 src/eu/webtoolkit/jwt/WSuggestionPopup.java
  193. +5 −0 src/eu/webtoolkit/jwt/WSvgImage.java
  194. +5 −0 src/eu/webtoolkit/jwt/WTabWidget.java
  195. +5 −0 src/eu/webtoolkit/jwt/WTable.java
  196. +5 −0 src/eu/webtoolkit/jwt/WTableCell.java
  197. +5 −0 src/eu/webtoolkit/jwt/WTableColumn.java
  198. +5 −0 src/eu/webtoolkit/jwt/WTableRow.java
  199. +6 −1 src/eu/webtoolkit/jwt/WText.java
  200. +5 −0 src/eu/webtoolkit/jwt/WTextArea.java
  201. +5 −0 src/eu/webtoolkit/jwt/WTextEdit.java
  202. +5 −0 src/eu/webtoolkit/jwt/WTimer.java
  203. +5 −0 src/eu/webtoolkit/jwt/WTimerWidget.java
  204. +5 −0 src/eu/webtoolkit/jwt/WTransform.java
  205. +5 −0 src/eu/webtoolkit/jwt/WTree.java
  206. +5 −0 src/eu/webtoolkit/jwt/WTreeNode.java
  207. +5 −0 src/eu/webtoolkit/jwt/WTreeTable.java
  208. +5 −0 src/eu/webtoolkit/jwt/WTreeTableNode.java
  209. +5 −0 src/eu/webtoolkit/jwt/WTreeView.java
  210. +5 −0 src/eu/webtoolkit/jwt/WVBoxLayout.java
  211. +5 −0 src/eu/webtoolkit/jwt/WValidationStatus.java
  212. +5 −0 src/eu/webtoolkit/jwt/WValidator.java
  213. +5 −0 src/eu/webtoolkit/jwt/WVectorImage.java
  214. +5 −0 src/eu/webtoolkit/jwt/WViewWidget.java
  215. +5 −0 src/eu/webtoolkit/jwt/WVirtualImage.java
  216. +5 −0 src/eu/webtoolkit/jwt/WVmlImage.java
  217. +5 −0 src/eu/webtoolkit/jwt/WWebWidget.java
  218. +6 −1 src/eu/webtoolkit/jwt/WWidget.java
  219. +5 −0 src/eu/webtoolkit/jwt/WWidgetItem.java
  220. +5 −0 src/eu/webtoolkit/jwt/WXmlLocalizedStrings.java
  221. +5 −0 src/eu/webtoolkit/jwt/WebRenderer.java
  222. +5 −0 src/eu/webtoolkit/jwt/WebSession.java
  223. +5 −0 src/eu/webtoolkit/jwt/WtException.java
  224. +5 −0 src/eu/webtoolkit/jwt/WtServlet.java
  225. +5 −0 src/eu/webtoolkit/jwt/XSSFilter.java
  226. +5 −0 src/eu/webtoolkit/jwt/XSSUtils.java
  227. +5 −0 src/eu/webtoolkit/jwt/chart/Axis.java
  228. +5 −0 src/eu/webtoolkit/jwt/chart/ChartUtils.java
  229. +5 −0 src/eu/webtoolkit/jwt/chart/PlotException.java
  230. +5 −0 src/eu/webtoolkit/jwt/chart/WAbstractChart.java
  231. +5 −0 src/eu/webtoolkit/jwt/chart/WAxis.java
  232. +5 −0 src/eu/webtoolkit/jwt/chart/WCartesianChart.java
  233. +5 −0 src/eu/webtoolkit/jwt/chart/WChart2DRenderer.java
  234. +5 −0 src/eu/webtoolkit/jwt/chart/WChartPalette.java
  235. +5 −0 src/eu/webtoolkit/jwt/chart/WDataSeries.java
  236. +5 −0 src/eu/webtoolkit/jwt/chart/WPieChart.java
  237. +5 −0 src/eu/webtoolkit/jwt/chart/WStandardPalette.java
  238. +5 −1 src/eu/webtoolkit/jwt/servlet/WebRequest.java
  239. +5 −1 src/eu/webtoolkit/jwt/servlet/WebResponse.java
  240. +5 −0 src/eu/webtoolkit/jwt/utils/CollectionUtils.java
  241. +5 −0 src/eu/webtoolkit/jwt/utils/EnumUtils.java
  242. +2 −4 src/eu/webtoolkit/jwt/utils/JarUtils.java
  243. +5 −0 src/eu/webtoolkit/jwt/utils/MathUtils.java
  244. +5 −0 src/eu/webtoolkit/jwt/utils/ObjectUtils.java
  245. +2 −4 src/eu/webtoolkit/jwt/utils/OrderedMultiMap.java
  246. +5 −2 src/eu/webtoolkit/jwt/utils/ReverseOrder.java
  247. +5 −0 src/eu/webtoolkit/jwt/utils/StreamUtils.java
  248. +2 −10 src/eu/webtoolkit/jwt/utils/StringUtils.java
  249. +1 −1 src/net/n3/nanoxml/CDATAReader.java
  250. +1 −2 src/net/n3/nanoxml/ContentReader.java
  251. +0 −1 src/net/n3/nanoxml/IXMLBuilder.java
  252. +0 −2 src/net/n3/nanoxml/IXMLElement.java
  253. +0 −2 src/net/n3/nanoxml/IXMLEntityResolver.java
  254. +0 −1 src/net/n3/nanoxml/IXMLParser.java
  255. +2 −2 src/net/n3/nanoxml/IXMLReader.java
  256. +0 −2 src/net/n3/nanoxml/IXMLValidator.java
  257. +0 −1 src/net/n3/nanoxml/NonValidator.java
  258. +1 −1 src/net/n3/nanoxml/PIReader.java
  259. +0 −2 src/net/n3/nanoxml/StdXMLParser.java
  260. +4 −5 src/net/n3/nanoxml/StdXMLReader.java
  261. +0 −2 src/net/n3/nanoxml/ValidatorPlugin.java
  262. +0 −1 src/net/n3/nanoxml/XMLElement.java
  263. +1 −1 src/net/n3/nanoxml/XMLEntityResolver.java
  264. +0 −1 src/net/n3/nanoxml/XMLParserFactory.java
  265. +0 −1 src/net/n3/nanoxml/XMLUtil.java
View
355 LICENSE

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.bobsmith;
import eu.webtoolkit.jwt.WApplication;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.charts;
import java.util.ArrayList;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.charts;
import java.text.ParseException;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.charts;
import eu.webtoolkit.jwt.WApplication;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.charts;
import eu.webtoolkit.jwt.Signal1;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.charts.csv;
import java.io.BufferedReader;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.composer;
import java.util.ArrayList;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.composer;
public class Attachment
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.composer;
import java.io.File;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.composer;
import java.io.File;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.composer;
import java.text.SimpleDateFormat;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.composer;
import eu.webtoolkit.jwt.WApplication;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.composer;
/**
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.composer;
import java.util.List;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.composer;
import java.util.EnumSet;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.composer;
import eu.webtoolkit.jwt.WContainerWidget;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.composer;
import java.util.ArrayList;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.dialog;
import java.util.EnumSet;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.dialog;
import eu.webtoolkit.jwt.WApplication;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.dragdrop;
import eu.webtoolkit.jwt.WContainerWidget;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.dragdrop;
import eu.webtoolkit.jwt.AlignmentFlag;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.dragdrop;
import eu.webtoolkit.jwt.WApplication;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.filetreetable;
import java.io.File;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.filetreetable;
import java.io.File;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.filetreetable;
import java.io.File;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.form;
import java.util.Date;
@@ -1,7 +1,13 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.form;
import java.util.ArrayList;
import java.util.List;
+import java.util.Locale;
import eu.webtoolkit.jwt.AlignmentFlag;
import eu.webtoolkit.jwt.Signal1;
@@ -54,20 +60,20 @@ public void trigger(WMouseEvent a1) {
* Change the language.
*/
private void changeLanguage(WText t) {
- setLanguage(t.getText().getValue());
+ setLanguage(new Locale(t.getText().getValue()));
}
private List<WText> languageSelects_ = new ArrayList<WText>();
- private void setLanguage(String lang) {
+ private void setLanguage(Locale locale) {
boolean haveLang = false;
for (int i = 0; i < languageSelects_.size(); ++i) {
WText t = languageSelects_.get(i);
// prefix match, e.g. en matches en-us.
- boolean isLang = lang.contains(t.getText().getValue());
+ boolean isLang = locale.toString().contains(t.getText().getValue());
t.setStyleClass(isLang ? "langcurrent" : "lang");
haveLang = haveLang || isLang;
@@ -76,8 +82,8 @@ private void setLanguage(String lang) {
if (!haveLang) {
languageSelects_.get(0).setStyleClass("langcurrent");
WApplication.getInstance()
- .setLocale(languageSelects_.get(0).getText().getValue());
+ .setLocale(new Locale(languageSelects_.get(0).getText().getValue()));
} else
- WApplication.getInstance().setLocale(lang);
+ WApplication.getInstance().setLocale(locale);
}
}
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.form;
import eu.webtoolkit.jwt.Cursor;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.hello;
import eu.webtoolkit.jwt.Side;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.hello;
import eu.webtoolkit.jwt.WApplication;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.hellowidgetset;
import eu.webtoolkit.jwt.WApplication;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.hellowidgetset;
import eu.webtoolkit.jwt.Side;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.hellowidgetset;
import eu.webtoolkit.jwt.WApplication;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.javascript;
import eu.webtoolkit.jwt.Side;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.javascript;
import eu.webtoolkit.jwt.WApplication;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.javascript;
import eu.webtoolkit.jwt.JSignal;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.mandelbrot;
import java.util.EnumSet;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.mandelbrot;
import java.awt.image.BufferedImage;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.mandelbrot;
import eu.webtoolkit.jwt.WApplication;
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2009 Emweb bvba, Leuven, Belgium.
+ *
+ * See the LICENSE file for terms of use.
+ */
package eu.webtoolkit.jwt.examples.mandelbrot;
import java.io.IOException;
Oops, something went wrong.

0 comments on commit e6f3d85

Please sign in to comment.