1 Reply Latest reply: Jan 3, 2013 5:42 PM by jsmith RSS

    General ErrorProvider in JavaFX

    ltorok
      Hi.
      I want create custom UI control ErrorProvider (.NET) for JavaFX.
      I have a feeling that JavaFX architecture in this case is poorly designed.
      Or you can give me some tips.
      Thanks.
        • 1. Re: General ErrorProvider in JavaFX
          jsmith
          You could try Thread.setDefaultUncaughtExceptionHandler:
          http://docs.oracle.com/javase/7/docs/api/java/lang/Thread.html#setDefaultUncaughtExceptionHandler%28java.lang.Thread.UncaughtExceptionHandler%29

          Though perhaps there should be something JavaFX specific in:
          http://docs.oracle.com/javafx/2/api/javafx/application/Platform.html

          You could log a feature request for that against the Runtime project if you like:
          http://javafx-jira.kenai.com