Posted February 04, 2020
I might possibly be onto something here and it's possible that I could end up using Java to finally be able to do what I want, but I just need a bit of clarification about it:
I have a program that I wrote using .NET, and it looks like it won't be possible to make it compatible with MacOS, so I'm considering translating the program into Java, or rewriting it that way, because I need it to be able to work on pretty much all versions of Windows AND MacOS (and Linux if possible, but that's not a big deal).
But it's NOT a web app or a console app - it's a regular GUI application to run like a normal program. So I was looking into Swing or JavaFX, but basically, I've just spent a LONG time and a LOT of effort trying to get it compatible using .NET because I was misinformed that if I upgraded to at least version 2015 then it would work. Because of that, I'm very annoyed and I would like something that will GUARANTEE that it will be cross-platform and with NO platform dependencies at all (except possibly requiring that an interpreter or runtime libraries or something like that be installed).
Please keep in mind that I don't actually have a Macintosh or MacOS to test the software, which is why I need to be certain that it will run EXACTLY the same on MacOS as on Windows (well, if the interface looks slightly different, I don't care, as long as it's usable, but the way that the program works must be identical). So I can't use any "native" code (like something compiled from C++).
Fortunately, aside from the interface, there's little to nothing in the way of libraries or anything third-party. In fact, it's pretty much just all logic and calculations, except for a single package that I must import, but it's a common one that is included in Java (actually, there may be some other simple ones for math functions and text manipulations, but they'd be REALLY rudimentary packages that also just transform data and do nothing beyond that).
So, would either Swing or JavaFX qualify for my requirements? And if not, then what would? Also, please keep in mind that whatever IDE I use must be able to run on an offline computer. Thank you.
Also, supposedly, Swing is built onto AWT, but AWT is said to be platform-dependent, so how is it that Swing can be platform independent, and how can I trust that it truly is? It seems to me that if one thing is made so that it will only run on one OS rather than all of them, then building anything using that would still have the same restriction, wouldn't it? As for JavaFX, I don't know whether it has the same problem or not, but I haven't seen anything which says that it does. In any case, whatever information anyone can tell me would be appreciated.
I have a program that I wrote using .NET, and it looks like it won't be possible to make it compatible with MacOS, so I'm considering translating the program into Java, or rewriting it that way, because I need it to be able to work on pretty much all versions of Windows AND MacOS (and Linux if possible, but that's not a big deal).
But it's NOT a web app or a console app - it's a regular GUI application to run like a normal program. So I was looking into Swing or JavaFX, but basically, I've just spent a LONG time and a LOT of effort trying to get it compatible using .NET because I was misinformed that if I upgraded to at least version 2015 then it would work. Because of that, I'm very annoyed and I would like something that will GUARANTEE that it will be cross-platform and with NO platform dependencies at all (except possibly requiring that an interpreter or runtime libraries or something like that be installed).
Please keep in mind that I don't actually have a Macintosh or MacOS to test the software, which is why I need to be certain that it will run EXACTLY the same on MacOS as on Windows (well, if the interface looks slightly different, I don't care, as long as it's usable, but the way that the program works must be identical). So I can't use any "native" code (like something compiled from C++).
Fortunately, aside from the interface, there's little to nothing in the way of libraries or anything third-party. In fact, it's pretty much just all logic and calculations, except for a single package that I must import, but it's a common one that is included in Java (actually, there may be some other simple ones for math functions and text manipulations, but they'd be REALLY rudimentary packages that also just transform data and do nothing beyond that).
So, would either Swing or JavaFX qualify for my requirements? And if not, then what would? Also, please keep in mind that whatever IDE I use must be able to run on an offline computer. Thank you.
Also, supposedly, Swing is built onto AWT, but AWT is said to be platform-dependent, so how is it that Swing can be platform independent, and how can I trust that it truly is? It seems to me that if one thing is made so that it will only run on one OS rather than all of them, then building anything using that would still have the same restriction, wouldn't it? As for JavaFX, I don't know whether it has the same problem or not, but I haven't seen anything which says that it does. In any case, whatever information anyone can tell me would be appreciated.
No posts in this topic were marked as the solution yet. If you can help, add your reply