Migrate a Java Swing app to web: which path to pick

Your Swing app still works. Users depend on it, the business rules inside it took years to get right, and now someone wants it in the browser. The question is how, and the answers you find online mostly start with a new JavaScript front end.
To migrate a Java Swing app to web, you have three real paths and one combination: rewrite the UI in JavaScript against a new REST API, run the existing app in the browser with Webswing, or rebuild the UI screen by screen in Java with webforJ, the full-stack Java framework. For most teams the best long-term target is webforJ, because your developers stay in Java and your business logic carries over. The fastest route to a first browser release is often both together, Webswing first and webforJ second.
The webforj-crud app shows the kind of screen most Swing teams migrate first: a table, a search field and a form dialog with validation for adding, editing, and deleting entries. It is a Spring Boot app that runs with Java and Maven.