News for hackers. Stuff that matters.
Re:Improved Docker Container Integration with Java 10 by joaomacp on Wednesday April 04, 2018 @12:56PM (#16756585)
> I recently had to create a cross-platform desktop app, and I'm still not aware of a better option then the JVM.

What GUI library(ies) did you use? Just Swing? Java-FX as well?

I'm curious about this - I've developed the macOS part of a desktop app, where the Windows part used WPF, and we shared C# code (.net core, so it would run in both platforms).

The advantages were that each app looked 'native' to its OS. But in my opinion, the disadvantages outweighed them: a) No linux support. b) Double the work on the UI parts.

The Java alternative would reverse this: no native-looking UI elements, but they would be done once and run everywhere, including Linux. Another alternative would be Electron, but I feel (though I'm not sure) Java would be more performant.

Can anyone chime in on this? I know there's no definitive winner on this space...

Re:Improved Docker Container Integration with Java 10 by actsasbuffoon on Wednesday April 04, 2018 @03:25PM (#16758039)
I just used JavaFX. It looks native everywhere, the tooling was good, and it works on Linux. I recommend taking a look.

I've written almost no Java before this project, and I had never used JavaFX before. It took about 2 weeks to go from beginning to end on the project, which I was happy with.

Re:Improved Docker Container Integration with Java 10 by vbezhenar on Wednesday April 04, 2018 @03:42PM (#16758239)
Oracle wants to drop JavaFX. I'm not sure about its future. It might be bright if someone wealthy would pick it up or dark if it'll end up in some apache catacombs. I would use Swing, it's very old, but it works and it's not going anywhere.
Re:Improved Docker Container Integration with Java 10 by chris_wot on Wednesday April 04, 2018 @11:14PM (#16761493)
Ah, Oracle - where good frameworks and open source products go to die.