Live data from Hacker News

Zetes: A lightweight cross-platform GUI application framework for Java

github.com

21–30 of 32 posts

Re: Zetes: A lightweight cross-platform GUI application framework for Java

#22

i think it's very telling that someone built a GUI framework but didn't feel the need for any screenshots. If it's a GUI tool and it ain't worth showing screenshots, then it ain't worth using IMNSHO.

Examples: https://github.com/bigfatbrowncat/zetes-examples

Re: Zetes: A lightweight cross-platform GUI application framework for Java

#23

Earlier quoted context omitted.

Any concrete example of issues with Swing, or just general discomfort?

The font rendering for Linux is terrible. Just look at Intellij IDEA in ubuntu for example. It's a wonderful editor but I can't use it since it is almost not readable.

FWIW this patch:

http://www.infinality.net/blog/infinality-freetype-patches/

https://launchpad.net/~no1wantdthisname/+archive/openjdk-fon...

Makes IntelliJ fonts actually look good on Linux. It's unbelievable how much better they look, and why no one has fixed this before.

I might actually switch to IntelliJ now.

Re: Zetes: A lightweight cross-platform GUI application framework for Java

#24

Earlier quoted context omitted.

Any concrete example of issues with Swing, or just general discomfort?

The font rendering for Linux is terrible. Just look at Intellij IDEA in ubuntu for example. It's a wonderful editor but I can't use it since it is almost not readable.

>> The font rendering for Linux is terrible.

Ubuntu fonts are great, which Linux are you talking about and is this recent as in the last 5 years experience or is it qualified non-sense on your part?

>> Just look at Intellij IDEA in ubuntu for example.

I have, I'm not impressed overall though on Ubuntu the fonts are fine. I stick with Eclipse because SWT was and is a brilliant idea, the widgets don't just look native, they _are_ native.

That bears repeating, with SWT, the widgets don't just look native, they _ARE_ native.

Re: Zetes: A lightweight cross-platform GUI application framework for Java

#25
post #18

From supported os section: > Ubuntu 12.10 or any compatible (x86_64) Is it gtk compatible or what? Why just 12.10? Some specific gtk version? I don't get it.

You are interpreting this wrong I believe.

I think the intent was to say:

Linux, on any x86_64 architecture, is supported.

For some reason... people like to list Ubuntu instead of "Linux" when stating they support Linux. The 12.10 is probably just to ensure you have a relatively recent disto.

Re: Zetes: A lightweight cross-platform GUI application framework for Java

#26

JVM is a sticky affair by itself.For concurrent and per-formant GUI applications in java that grow over a given expectation,it would need very specific VM tuning like GC behavior,native profiling etc.Most of it comes packaged in a decently stable manner for Oracle JVM, how about a new JVM vendor like in here? Also am i the only one or is JVM packaging a really big affair?Cant we use netbeans platform pack200+MSI inst…

You mean to bundle a jre into your application?

There is:

- install4j

- exe4j

- AdvancedInstaller

etc...

All will bundle your jre into an exe, msi, .sh (auto-unpacker), etc. You can even do .dmg's if you want.

I actually find packaging my java apps pretty easy. :)

Also... there are a LOT of JVM vendors. Oracle's JRE/JDK just so happens to be the most well known. Besides OpenJDK/JRE, many other companies make their own such as IBM, BAE, BlueSystems, etc.

Re: Zetes: A lightweight cross-platform GUI application framework for Java

#27
post #15

People are complaining about how bad SWT is, and I definitely agree. It's a product of systems engineers, not the modern hipster-designer breed of developers. If you fall into the latter category and want to work with Java, I highly recommend JavaFX Webview. It's essentially webkit as a UI layer, so you get to work with HTML5/Bootstrap/whatever. Surprisingly, its interface from Java to Javascript is quite well design…

I second your JavaFX Webview recommendation. And if you are using JavaFX, you can always use its built-in native packaging tool

http://docs.oracle.com/javafx/2/deployment/self-contained-pa...

Not to say everything else is perfect in JavaFX world but I think if you want to deploy a JavaFX application that is cross platform, the only major missing piece now is auto update support/framework for these self contained applications

Re: Zetes: A lightweight cross-platform GUI application framework for Java

#28
post #24

Earlier quoted context omitted.

The font rendering for Linux is terrible. Just look at Intellij IDEA in ubuntu for example. It's a wonderful editor but I can't use it since it is almost not readable.

>> The font rendering for Linux is terrible. Ubuntu fonts are great, which Linux are you talking about and is this recent as in the last 5 years experience or is it qualified non-sense on your part? >> Just look at Intellij IDEA in ubuntu for example. I have, I'm not impressed overall though on Ubuntu the fonts are fine. I stick with Eclipse because SWT was and is a brilliant idea, the widgets don't just look native,…

Swing does its own font rendering, so the fonts look wrong[0] on every platform.

[0] Where "wrong" means "different from what is expected on the platform" – until we get higher-resolution screens font rendering is a compromise between sharpness and correctness-of-shape; different platforms make different choices; users adjust to the specific choices their platform has made. To observe this in the wild, read any discussion of Safari on Windows.

Re: Zetes: A lightweight cross-platform GUI application framework for Java

#29
post #25
post #18

From supported os section: > Ubuntu 12.10 or any compatible (x86_64) Is it gtk compatible or what? Why just 12.10? Some specific gtk version? I don't get it.

You are interpreting this wrong I believe. I think the intent was to say: Linux, on any x86_64 architecture, is supported. For some reason... people like to list Ubuntu instead of "Linux" when stating they support Linux. The 12.10 is probably just to ensure you have a relatively recent disto.

I tend to think when people specifically claim to support "Ubuntu" (instead of "Linux") it means they actively tested it with Ubuntu and have determined that it is compatible with Ubuntu. I guess it's easier to just assume everyone uses Ubuntu rather than put in the time/effort to confidently assert that it works with any distro you throw at it.

Re: Zetes: A lightweight cross-platform GUI application framework for Java

#30
post #16

To see the difference between Swing and SWT just look at Intellij and Eclipse. Intellij (use the darkula theme its beautiful), looks great and responds very quickly in both the editor and when performing asynchronous operations. (I have issues with some of its functionality but thats a different story). Intellij is Swing. Eclipse, is a 2 second push to pain IDE and always has been. Its SWT. As a 15 year java develope…

Yeah. Swing is so easy to use and you can make it do anything you want. I don't know why people complain so much. I got used to using layout managers and not specifying x,y locations and widths and heights that I just don't like JavaFX.
Post reply on HN