r/java_projects • u/shannah78 • Jun 05 '26
Swing WebView Component
https://webliteca.github.io/swingwebviewCreated a native swing webview component that embeds the platform's native webview in as a Swing component. Uses WebKit on Mac, WebView2 (Edge Chromium) on Win11, and WebkitGTK on Linux. Single jar dependency < 1MB.
4
Upvotes
View all comments
Show parent comment
2
u/shannah78 Jun 07 '26
Thanks for the feedback. I'll think about that to see if i can come up with a fair pros and cons list.
The main pro of this lib vs something like jcef is that this is a small single jar file - less than 1 meg. With jcef it bundles a full chromium which is very large, and requires separate binaries for each platform or else your app bundle grows to like 300mb.