RichTextFX
Rich-text area for JavaFX (by FXMisc)
compose-multiplatform
Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable. (by JetBrains)
RichTextFX | compose-multiplatform | |
---|---|---|
9 | 96 | |
1,174 | 14,706 | |
0.3% | 1.2% | |
5.3 | 9.6 | |
6 months ago | 3 days ago | |
Java | Kotlin | |
BSD 2-clause "Simplified" License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
RichTextFX
Posts with mentions or reviews of RichTextFX.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-10.
-
Are We Out of Luck for Rich Text Editing?
RichTextFX isn't great -- documentation is generally unhelpful and not much development lately. I've also found bugs in the component and figuring my way around internals is hard for a new-ish Kotlin dev.
-
Rich Text Editor
RichTextFX is very much Some Assembly Required and there isn't much documentation. I would definitely say it's not easy to use IMHO. I'm currently working on creating a word processing control with it, but it's still very much a work in progress. If you go the route of using RichTextFX, the repo might help you figure some things out.
-
What do you use for building Desktop apps these days?
RichTextFX provides decent syntax highlighting for JavaFX. The project is barely active but works great nevertheless.
-
Missing APIs related to rich text control
RichTextFX issue
-
How to have text wrapping around another component?
This is a tough one. JavaFX doesn't currently have that capability. This would involve a lot of font metrics and line metrics calculations. The API currently does not have public methods for such. Might be added in future versions of javafx.
-
RichTextFX: Open source libraries for making a text viewer / editor
RichTextFX - This fits the bill. It uses following subcomponents..
-
MaterialFX reaches version 11.13.2
VirtualizedFX and TextFlow will be key to creating stylized text editor if you decide to venture that direction. A game changer. RichtextFX is the most popular but uses Flowless as a virtualised container for TextFlow display, hence has many dependencies.
- What languages and libraries would you use to create your own IDE?
compose-multiplatform
Posts with mentions or reviews of compose-multiplatform.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-11.
-
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?
When comparing RichTextFX and compose-multiplatform you can also consider the following projects:
JFoenix - JavaFX Material Design Library
javafx-examples - A large collection of JavaFX examples demonstrating basic + advanced features of JavaFX.
MaterialFX - A library of material components for JavaFX
tornadofx - Lightweight JavaFX Framework for Kotlin
Recaf - The modern Java bytecode editor
skiko - Kotlin MPP bindings to Skia
VirtualizedFX
javafx-gradle-plugin - Gradle plugin that makes it easy to work with JavaFX 11+
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
Jetpack-Compose-Playground - Community-driven collection of Jetpack Compose example code and tutorials :rocket: https://foso.github.io/compose
Flowless - Efficient VirtualFlow for JavaFX
tornadofx2 - TornadoFX 2.0
RichTextFX vs JFoenix
compose-multiplatform vs javafx-examples
RichTextFX vs MaterialFX
compose-multiplatform vs tornadofx
RichTextFX vs Recaf
compose-multiplatform vs skiko
RichTextFX vs VirtualizedFX
compose-multiplatform vs javafx-gradle-plugin
RichTextFX vs imgui
compose-multiplatform vs Jetpack-Compose-Playground
RichTextFX vs Flowless
compose-multiplatform vs tornadofx2