Sample Code Code Samples


This page provides links to the code samples used in numerous places in this guide. Code samples are listed below in alphabetical order. Numbers in this list are provided for ease of reference only, and do not refer to the order in which the code is presented in the guide.

  1. About Box
  2. Accessing a Log Service
  3. Add Child Node
  4. Align Column Values
  5. Build Search Index
  6. Call Delegation
  7. Checking Authorization
  8. Configure Services with Properties
  9. Connect to External Client Provider
  10. Console Listeners
  11. Create Tool Node
  12. Creating a Dialog
  13. Customize 1st Column Header
  14. Debugging
  15. Details Style Only
  16. Enable Styles
  17. Exceptions
  18. External Client Provider
  19. Get Frame Parent
  20. Getting Selected Navigation Pane Node
  21. Getting Selections
  22. Getting Sort Preferences
  23. Hello
  24. Helpset Map File
  25. Hyperlink to Helpset
  26. Launching
  27. Loading Help Files
  28. Loading Images
  29. Loading Resource Bundles
  30. Localized Helpset
  31. Log Console Event
  32. Logging
  33. Manifest for External Client Provider
  34. Manifest for Native Library
  35. Manifest for Tools
  36. Menubar Integration
  37. Messaging
  38. native2ascii
  39. Persistence
  40. Preferences
  41. PropertyChangeListener
  42. Remove Child Node
  43. Scope
  44. Service Descriptor
  45. Service Implementation
  46. Service Interface Definition
  47. Set Center Status Info Pane
  48. Set Context Help
  49. Set Left Status Info Pane
  50. Setting Character Set Encoding in HTML
  51. Setting Selections
  52. System Properties on Command Line
  53. Tool Descriptor
  54. Tool Resource Bundle
  55. Tool.setProperties
  56. Update Display with UPDATESCOPE
  57. UPDATESCOPE
  58. VConsoleActionListener