this post was submitted on 23 Mar 2024
22 points (100.0% liked)

Java

1363 readers
5 users here now

For discussing Java, the JVM, languages that run on the JVM, and other related technologies.

founded 1 year ago
MODERATORS
top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 7 months ago (2 children)

I may have been born under a rock, but does Qt have java capabilities? Wonder why GTK is listed but not Qt. Unless I'm like two decades out of the loop, which is possible :)

[–] [email protected] 2 points 7 months ago (1 children)

I think they were just stating why they were considering it as an option - or maybe why they really weren't. I think the same argument applies for any UI toolkit - it makes sense for them to just use libwayland instead.

[–] [email protected] 2 points 7 months ago (1 children)

Building a toolkit from first principles is fun, I'll admit.

I toyed with using libxcb and ctypes to make a pure python GUI toolkit once. Got as far as rendering on a screen and and event loop. Then got bored when I realized how much work it was going to be. I suppose someone could do the same with libwayland :)

[–] [email protected] 2 points 7 months ago (1 children)

Haha. I'm sure the OpenJDK guys could use some help if you want to try it again. They already have AWT, so all that's really needed is the rendering part... I'm sure it'll be super easy!

[–] [email protected] 3 points 7 months ago

Oh hell no. I can't stand java paradigms haha. Only ever had to write one production java program and that was enough. Wish them luck though -- the rising tide floats all boats and such, particularly in open source :)

[–] [email protected] 1 points 7 months ago

They were using GTK's Wayland implementation as a reference, I think that is why. Though a Swing application running on Wayland wouldn't really care about the underlying DE anyway.