Difference: DpHipePreferences (12 vs. 13)

Revision 132009-10-01 - JaimeSaiz

Line: 1 to 1

HIPE Preferences

Line: 346 to 346
  To solve this situation, your editor should listen to preference changes by implementing PreferenceListener and registering with UserPreferences.addListener.
Warning, important Note: The PreferenceListener is called in a non-GUI thread. If you need to call some GUI code in your listener, put your code into a Runnable and use one of the following methods:

  • SwingUtilities.invokeAndWait(Runnable r)
  • SwingUtilities.invokeLater(Runnable r)
  • SiteUtil.execAndWait(Runnable r)
  • SiteUtil.execLater(Runnable r)

Link to properties

Now, what happens with plain old properties?

This site is powered by the TWiki collaboration platform Powered by Perl