Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> hope that is still the case

I don't know why you'd care what it's written in, but for the reasons that I'd care (resource usage mostly) Java and Javascript are languages I'd hope it's not



Java and Javascript are in no way related. Compared to an Electron app something written in Java is likely to be fast and RAM efficient. Java might have been slow in the 90s, but the world caught up and overtook it years ago.


Yet that Arduino v1 IDE is everything but fast


Because it's not written in Java, it is written using Eclipse platform.


..? Arduino 1 IDE is a fork of the Processing IDE which has nothing in common with eclipse afaik ?


IDE 1.x.x is all Java IDE 2.x.x is Theia/Electron (Typescript)


Java is nice because it's nearly trivial to get native look and feel.


I'm not quite going to downvote you for this, just share my observation that I have never, once, used a Java app which has what I would consider a "native look and feel" for macOS.

Better than Electron? Sure. But native? Not even close.

Perhaps it's different on other platforms; I wouldn't know.


Because the lazy devs haven't read books like this,

http://filthyrichclients.org/

Or willng to shell out money to frameworks like this,

http://www.jgoodies.com/


Well I'm not a desktop Java developer anymore (thank the Gods) so I'll just take your word for it.

On a practical level, is there some example of a Java app which I could download and try out for native look and feel? See if my custom menu items show up, if I can drag a document window bar icon onto another application, basic stuff like that?


IDEA and related products are written in java and look and feel native to some degree. CyberDuck is java. Most developers don't know its so so easy to just toggle the look and feel to be native. A lot of app designers decide non-native even when it's native code, see adobe products.


Is that sarcasm? Didn't seem very straightforward last time I checked.


Not sarcasm; ignoring the surrounding try catch block, it's one line of code.


Most people don't know about LAFs.


A travesty, really


Can you supply an example? I gave up on Java GUI over 20 years ago because it looked horrible.


You were probably Doing It Wrong. The default L&F is not good, but its one line of code to select the native L&F. I commented on another post with a few example above.


Look up modern JavaFX apps, easy to skin with css.


JavaFX's text rendering is busted on macOS since Mojave in 2018:

https://github.com/javafxports/openjdk-jfx/issues/229#issuec...

So I give it an 'F' for the "look" part of look-n-feel.


I don't consider JavaFX a viable option. No native look and feel means automatic disqualification.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: