Changes in SuperWaba 2.2 1. added ComboBox/ListBox getItems to get the current items. 2. added new method Convert.cloneStringArray to create a copy of a String array. 3. new methods ComboBox/ListBox insert(item,index). 4. fixed bug when the listbox is greater than the current item count 5. fixed bug when adding too much items to the ListBox. 6. fixed sony fonts. now it grabs the high res fonts. be careful with the BIG font size, it is 4 times the size of the standard font. 7. fixed again the double to string routines. Fixed also in the desktop side (which now match exactly the device side). Fully tested and results matching with jdk. 8. now Catalog.listCatalogs running on desktop returns all prc/pdb files in the current directory. 9. now Vm.attachLibrary works in desktop to attach pdbs that contain saved images 10. Graphics.drawImage now accepts LEFT,RIGHT,TOP,BOTTOM as parameters (already supported CENTER) 11. fixed bitmap saving at the desktop. Now it correctly converts from rgb to the index. 12. putted ScrollBar.unitIncrement working. 13. optimized ScrollBar avoiding unnecessary calls. 14. now Image.saveTo stores the bitmap depending on the bpp depth of the current display. It will preserve the original palette only if the device has colors. 15. now IntHashtable.INVALID is not final anymore. This lets you change it to meet your requirements. But note, it is static, so a change will reflect in all instances. 16. fixed emulation of gray devices in desktop. Now you really see like in the device. 17. new constructor Image(byte []fullBmpDescription). It accepts an image from a byte stream. The image can be compressed. The Image.setPixels is now definetly deprecated. 18. added Alain Stein changes to Calendar class. 19. fixed up/down keys on ListBox. 20. fixed setting colors when loading color bitmaps 21. fixed problem in MenuBar when closing without selecting an item and in the next menu popup no popupMenu was openned. 22. fixed PopList of ComboBox positioning when the combo was not added directly to a Window. !23. fixed preferred height of ComboBox when PalmOS style. 24. fixed x and y positioning of ComboBox in PalmOS style. 25. added Jean Rissoto's fixes in PushButtonGroup: When selecting a new button, the cursor was drawn on the position of pushButtonCroup of the previous screen. 26. added Jean Rissoto's fixes in PushButtonGroup: color of the cursor I set by setCursorColor come on only on the second screen displayed. 27. fixed support for Sony T415. 28. fixed high-res support for some UI controls. 29. fixed high-res support in desktop. This command-line emulates the T415: /w 320 /h 320 /scale 1 /bpp 4 /useSonyFonts 30. Now you can use the Sony fonts. Just specify /useSonyFonts in the applet commandline. The fonts are located under classes/Sony*.pdb 31. removed Handy class. Moved boundText to Convert.insertLineBreak. This method may be slow. Use it with care. 32. Now Vector.toObjectArray may be casted to a String[] array if the elements are Strings. No more need to use Convert.toStringArray(). 33. New Method Vector.qsort (only works if the Vector elements are Strings). 34. new method Convert.qsort(Object[]). Although the parameter is an Object array, all array elements must be Strings. 35. new methods ComboBox.qsort and ListBox.qsort. 36. fixed Catalog.create. Now it matches the behaviour of the device (it catalog found and mode == create, read the data). 37. fixed index out of range in ListBox.find when the listbox contained a "" item. 38. fixed PushButtonGroup.setSelected when myg == null but all other conditions were valid (the result was the selectedIndex was not being set). 39. new Timer.triggered, set when the timer is being triggered. It may be used to distinguish between various timers within the same target control. 40. added Alan Stein fixes to extra/Memo.findMemo. 41. removed heapgap. This was allocating an unneeded 50k chunk. 42. changed some delays in the gray scale start to try to fix the screen corruption. 43. fixed Buttons in PalmOS style being drawn dark instead of black. 44. changed 2bpp device's palette to a bit darker one. 45. made cursor color darker in 2bpp devices. 46. fixed paint problem when a window was popped up in the PRESSED event thrown by a ComboBox. . added ext/edits, a package from Jean Rissoto that contains a multiline edit and some other cool stuff. 47. fixed setting colors in MessageBox. Now the label follows the fore/back color of the MessageBox and the arrows follow the foreground color. 48. Now in MenuBar and PopupMenu you can set the border to NO_BORDER. 49. added support for colored menubar and popupMenu. new methods MenuBar.setCursorColor and PopupMenu.setCursorColor. new method MenuBar.setPopColors. 50. Now Control.setRect makes sure that the control width does not advance over parent's bounds if PREFERRED was choosen.