FlatLaf
compose-multiplatform
FlatLaf | compose-multiplatform | |
---|---|---|
25 | 96 | |
3,076 | 14,706 | |
- | 1.2% | |
9.2 | 9.6 | |
11 days ago | 4 days ago | |
Java | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
FlatLaf
- online chess game made in Java
-
Win32 App Isolation
JVM UI isn't so bad. I've written some pretty modern looking UI with it. The sophisticated controls are all there.
Modern JavaFX theme: https://github.com/mkpaz/atlantafx
Modern Swing theme: https://github.com/JFormDesigner/FlatLaf
And these days Compose Multiplatform: https://www.jetbrains.com/lp/compose-multiplatform/
I tend to use Kotlin rather than Java but of course Java is perfectly fine too. You can also use Clojure.
If you use any of those frameworks you can distribute to Win/Mac/Linux in one command with Conveyor. It's free for open source apps and can do self-signing for Windows if you don't want to pay for the certificates or the Store (but the Store is super cheap these days, $19 one off payment for an individual). Also supports Electron and Flutter if you want to use those.
From those frameworks you can then access whatever parts of the Windows API you want. Flutter even has WinRT bindings these days! So it's not quite so bad.
-
FlatLaf 3.1 (and 3.0) - Swing Look and Feel
FlatLaf, a modern open-source cross-platform Look and Feel for Java Swing desktop applications, brings exciting new features in versions 3.0 and 3.1 đ đ
- Is it easy to pick up javafx?
-
An Intellij IDEA plugin to inspect Swing components at runtime
Hereâs the link to the âextrasâ subproject, and there youâll find a section on the âUI Inspectorâ tool.
-
What do you use for building Desktop apps these days?
Swing with FlatLaf - https://github.com/JFormDesigner/FlatLaf
-
Show HN: Sierra, a DSL for building Java Swing applications
Take a look at FlatLAF:
https://github.com/JFormDesigner/FlatLaf
They have done a great job bringing a modern appearance to the Swing components.
-
How to create custom theme in Netbeans? Not just dark or light theme, but my own.
Creating your own Look and Feel is a huge task (just look at the size of e.g. the FlatLaf code.
-
JOSM: working preferences.xml for big fonts at all places
I too find it a bit frustrating at HiDPI. Best I've come up with is to use https://github.com/JFormDesigner/FlatLaf
-
Should programmers avoid drag and drop GUI builders?
And as far as Swing's aesthetics, I only agree with the sentiment that 'it's ugly' if a custom LAF isn't used, like one from flatlaf.
compose-multiplatform
-
Understanding file associations in JVM apps
So, to add file associations, we need to be able to pass both the .properties file and the --file-associations option. At the time of writing this article, the org.jetbrains.compose plugin doesn't provide such a mechanism. There is an open issue on GitHub that describes a possible workaround, which, unfortunately seems to not work on macOS.
-
Compose cannot be used for large amount of text
JetBrains has a simplified example of a general-purpose Compose text viewer here: https://github.com/JetBrains/compose-multiplatform/blob/master/examples/codeviewer/shared/src/commonMain/kotlin/org/jetbrains/codeviewer/ui/editor/Editor.kt
-
[Compose Multiplatform] Disable a button according to a list of flow values
![image](https://github.com/JetBrains/compose-multiplatform/assets/1382241/6747a3f6-53b9-43da-8d97-ab1e1e31170f)
- Compose Multiplatform 1.5.0-beta01
-
Timeline with Scrollbar in LazyColumn Compose
Compose for desktop has a scrollbar component available. You probably can't use that directly on Android, but you could probably steal most of its code.
- How good is Compose Multiplatform in production especially in creating Desktop apps?
-
Kotlin for a desktop App
My company uses https://github.com/JetBrains/compose-multiplatform to make a desktop app in Kotlin. It's amazing and fantastic. It's basically as mature as using Kotlin in an Android app.
-
Kamel v0.5.0 released with Kotlin Native and JS support
Kamel is an asynchronous media loading library for Compose Multiplatform.
-
Ksoup - Kotlin Multiplatform HTML Parser âĄ
Kotlin Compose Multiplatform is the way to do Desktop apps. https://github.com/JetBrains/compose-multiplatform
-
JetBrains Compose is now Compose Multiplatform
As for missing controls, a common one is a grid. They have built in grids, but again they are built for Android and don't make any sense in a desktop app. There is no simple way to create an Excel-like Data Grid like you might see in Windows Forms, although it can be done. https://github.com/JetBrains/compose-multiplatform/issues/344.
What are some alternatives?
weblaf - WebLaF is a fully open-source Look & Feel and component library written in pure Java for cross-platform desktop Swing applications.
javafx-examples - A large collection of JavaFX examples demonstrating basic + advanced features of JavaFX.
Windows UI Library - Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
tornadofx - Lightweight JavaFX Framework for Kotlin
darklaf - Darklaf - A themeable swing Look and Feel based on Darcula-Laf
skiko - Kotlin MPP bindings to Skia
kotlin-native-gtk - GTK+ bindings for Kotlin Native
javafx-gradle-plugin - Gradle plugin that makes it easy to work with JavaFX 11+
radiance - Building modern, elegant and fast Swing applications
Jetpack-Compose-Playground - Community-driven collection of Jetpack Compose example code and tutorials :rocket: https://foso.github.io/compose
tornadofx2 - TornadoFX 2.0