We'd be happy to help. Maybe one way would be to work on the code together, i.e., if you have/create an account (assuming you don't have one yet) on GitHub ( https://github.com/) and then put your whole application there, others (me for sure) will be happy to take a look at it.
Gj On Mon, Mar 9, 2020 at 6:58 PM Judi Rastall <j...@rastall.com> wrote: > Maybe I'm trying to run before I can walk but I have set myself the target > of rewriting a program I've inherited in Delphi into Java because I want to > offer the program to run on any platform. So far I have written a splash > screen with two buttons - Go and Quit. This then loads a menu bar which has > a number of buttons which then call various functions or routines. So far I > have two buttons active which load either table or a screen of help text. > Everything works perfectly within the IDE when I "Run" the program from > there. However, when I "Clean & Build", the resulting jar file won't run. > > Trying to run from the CMD prompt, I see this error message: > Exception in thread "main" java.lang.NullPointerException > at javax.swing.ImageIcon.<init>(Unknown Source) > at wagonflow5.StartScreen.initComponents(StartScreen.java:70) > at wagonflow5.StartScreen.<init>(StartScreen.java:25) > at wagonflow5.WagonFlow5.main(WagonFlow5.java:30) > > I am running Apache Netbeans 11.3 on Windows 10. Java - version gives: > java version "1.8.0_241" > Java(TM) SE Runtime Environment (build 1.8.0_241-b07) > Java HotSpot(TM) Client VM (build 25.241-b07, mixed mode, sharing) > > Why will a program that runs perfectly well within the IDE fail to run > when compiles? > > Judi > > On 09/03/2020 16:09, Geertjan Wielenga wrote: > > Give us some idea of what the problems are, and maybe we can help? > > Gj > > On Mon, Mar 9, 2020 at 5:07 PM Judi Rastall <j...@rastall.com> wrote: > >> I have to admit I'm on the point of giving up with Netbeans 11. Programs >> that used to compile quite happily with V8 no longer compile. I am using >> images in a subdirectory and the V11 compiler cannot find them so I get >> null exceptions and it sulks. >> >> Judi >> >> On 09/03/2020 15:52, Chris Olsen wrote: >> >> Paul (and All) -- >> >> As they say, "I feel your pain!" The removal of FX was a pain in the >> behind for me also, and I am also moving over to Maven from Ant. I am a >> complete amateur (though experienced, Java is about my 5th language.) Much >> of the more technical discussions among Java developers go way over my head. >> >> HOWEVER, I have been able to move easily from before to now. My programs >> are almost exclusively statistical, and not really pushing the limits of >> Java, which situation may not apply to many. I found the transition from 8 >> to Java 13 (AdoptOpenJDK) to be unexpectedly painless and the transition to >> Maven relatively easy (for the most part just copying over packages and >> trying to figure out where to put resources.) >> >> And I am anticipating 14 soon. >> >> -- Chris >> >> >> ----- Original Message ----- >> From: Paul Szudzik <pszud...@throwarock.com> <pszud...@throwarock.com> >> To: Netbeans Mailing List <users@netbeans.apache.org> >> <users@netbeans.apache.org> >> Sent: Mon, 09 Mar 2020 11:15:49 -0400 (EDT) >> Subject: Statement of disappointment >> >> I have been a NetBeans user since inception. I am retired now, but when >> I worked, I was one of the few people in my company that was an advocate of >> NetBeans, and used it instead of the company line, Eclipse product. >> >> Retired now for 10+ years, I used NetBeans to develop my products, and >> really getting involved in JavaFX big time. I love the cross platform >> capability, and use it on both Ubuntu and Windows. Raspberry Pi, no >> problem. Windows, no problem. I loved it. Then boom, Oracle takes JavaFX >> out of the mix, and NetBeans and I start having major problems. It gets >> harder and harder to use NetBeans with it’s incompatibility with JavaFX >> without going through hoops every single time we upgrade. I have a ton of >> projects that are a major pain to go back to without having to dance on a >> high wire to get to work. And I am still not sure I can do this anymore. >> >> I have been a computer programmer, designer and architect for well over >> 53+ years. I have see many systems come and go, many IDE rise and fall, >> many languages surface and crash. The move to Maven is beyond my scope now. >> I want to program, not to have to regenerate and rehash my build system >> every release. I have tried to move over to 11, and mostly failed. I have >> too many modules and programs in play to hack this out. >> >> It would have been great if NetBeans had a seamless transition , built >> in conversions for old projects to current format. Seriously, I would love >> to be on that train. But nope, it seems too much handholding and dancing. >> I currently have a half dozen active Beta’s that are stuck in a NetBeans >> 8.1.x / Java 8 scenario, that I want to port into NetBeans 11.3 / Java 13+ >> area, but really don’t believe that it is 1: Easy, 2: Lasting, 3: Enduring >> more than another release. >> >> I still have reported bugs > 5 years old that are not resolved. >> >> I see streams of notes that are asking questions about compatibility. ( >> The latest straw is the Ant image ... ) I see how once the major players in >> NetBeans get on a wagon, the trail off is almost impossible. If you’re new >> to NetBeans, perhaps this is a good trend. If you have dealt with NetBeans >> as long as I have.. it becomes more than just an annoyance. It almost >> easier to find another IDE to settle in on, as the amount of work to >> transfer 100+ projects, probably more, from old NetBeans to new NetBeans is >> formidable. >> >> Maybe a 3rd party can produce a product that 100% transfer old projects >> to Maven.. I’d rather develop and code than mess around with trying to make >> things move up the NetBeans chain anymore.. Coding is fun, transitioning is >> not. I am 100% committed to JavaFX, I like the layouts, I like what Gluon >> has done, I like the look and feel. >> >> NetBeans 8 –> NetBeans 11+ –> convert ... >> >> I would normally apologize for my rant, but nope. I feel that I am now >> progressing backwards... >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org >> For additional commands, e-mail: users-h...@netbeans.apache.org >> >> For further information about the NetBeans mailing lists, >> visit:https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >> >> >> >