Thank you for the feedback so far. I have NetBeans 8.1 but have never used it to debug and app developed outside of it before. I will take some time to learn as you suggested.
to assist your understanding of my situation, my app is a custom eBook reader and the app downloads books from my site. For now, I am attempting to remove all use of Dialogs from the splash screen by transforming them into normal containers being added and removed as needed from the main form container. hopefully, this will allow the splash form all the time necessary to be shown. If this doesn't work then I will have to focus on the handled JavaIO errors and the possibility that my app trying to write to the root of the drives immediately upon running is somehow triggering a negative effect and windows is deliberately blocking my app from fully loading. (Just saying that actually sounds feasible) As for the flow, it is pretty simple: 1) a simple splash screen from named "splash" was designed in the UI Builder with an Infinite Progress and a label which read "Loading.... Please wait" 2) the first action of the "Splash" form's "Post Show" event is to check for writable storage locations by creating and deleting a file 3) the second action of the "Splash" form's "Post Show" event is to run a few tests, the first of which is validation of registration by the existence of a file which is created during registration process. 4) if this file is not found or cannot be authenticated, registration is required and the user is notified of such via a dialog which opens the "register" form upon clicking the "OK" button. Herein the failure happens. The issue is that the "Post Show" event on the "splash" form object is being triggered before the form is actually shown and the resultant Dialogs are freezing. Finally; The issue of not showing Dialogs until after I have made sure that the form is showing. I am working under the assumption of that being the purpose of the "Post Show" event. I am not aware of a form.isShowing() method so should I try attaching an addShowListener() call to the form in the beforeSplash event and remove the postSplash event handler completely? My concern is if the event is being triggered (which we have already confirmed), wouldn't the listener also be triggered? On Thursday, July 7, 2016 at 5:14:48 AM UTC+1, Shai Almog wrote: > > FYI you can check the "include source" flag and download a netbeans > project that you can use to debug. This will allow you to press pause on > the debugger and see exactly where all the threads are stuck. > > Dialogs won't work unless a form is shown first. I'm not really sure I > understand the flow you need to make sure that the form is shown and > completes showing before any dialog is shown. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/7afe2d3a-7c5c-4921-b786-238c2963b3b0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
