|
1 | | -This setup allows you to scaffold your own Java desktop app with a React-based |
2 | | -UI. |
| 1 | +This setup allows you to scaffold a Java desktop app with JxBrowser for the |
| 2 | +webview, a React UI (with shadcn/ui), and Protobuf/gRPC for communication |
| 3 | +between Java and JavaScript. |
3 | 4 |
|
4 | 5 | ## Prerequisites |
5 | 6 |
|
6 | 7 | - Java 17 or higher |
7 | 8 | - [Node.js](https://nodejs.org/en/download) 20.11.0 or higher |
8 | | -- [Cursor](https://cursor.com/) |
9 | | -- Claude 4 Sonnet |
| 9 | +- [Cursor](https://cursor.com/) |
| 10 | +- Claude 4 Sonnet |
10 | 11 |
|
11 | 12 | ## How to use |
12 | 13 |
|
13 | | -To try it yourself, download the [`docs`](docs) directory and put it into an |
14 | | -empty project. |
| 14 | +To try it yourself, download the [`docs`](docs) and [`template`](template) |
| 15 | +directories and put them into an empty project. |
15 | 16 |
|
16 | | -Then add the `architecture-overview.md` document to the context for a new |
17 | | -project in Cursor, and ask the LLM to generate the app. |
| 17 | +Then add the [`architecture-overview.md`](docs/architecture-overview.md) |
| 18 | +document to the context for a new project in Cursor, and ask the LLM to |
| 19 | +generate the app. |
18 | 20 |
|
19 | 21 |  |
20 | 22 |
|
@@ -46,7 +48,10 @@ Then, in another terminal, launch the application itself: |
46 | 48 | ./gradlew run |
47 | 49 | ``` |
48 | 50 |
|
49 | | -You should see the desktop app window with Shadcn (React) UI that allows viewing |
| 51 | +You should see the desktop app window with shadcn/ui (React) that allows viewing |
50 | 52 | local files/folders and navigating through them: |
51 | 53 |
|
52 | 54 |  |
| 55 | + |
| 56 | +After the application successfully started, you can remove the [`docs`](docs) |
| 57 | +and [`template`](template) directories. |
0 commit comments