Briefing de vol et fiche technique
swing-ui vous permet de créer de vraies applications de bureau, d'apparence native, pour Windows, Linux et macOS, uniquement en JavaScript. Pas de lourdeur Electron, pas de navigateur en coulisses, pas de bataille avec HTML/CSS. Écrivez du JS dans Node.js, Bun ou Deno v2+ et obtenez une véritable application GUI Java Swing.
Ce qu'il fait
En coulisses, swing-ui relie directement votre environnement d'exécution JavaScript à Swing, le toolkit Java mature et éprouvé, avec nos améliorations. Vous disposez d'une bibliothèque complète de composants d'interface de bureau améliorés (fenêtres, boutons, tableaux, onglets, arborescences, curseurs, menus, icônes de zone de notification, lecteur multimédia personnalisé et plus encore), tous pilotables avec des appels JavaScript synchrones et propres. Écrivez le code une fois et déployez-le partout où Java fonctionne.
Fonctionnalités clés
npm install swing-ui et vous construisezPourquoi les développeurs l'adorent
Les développeurs qui devraient normalement apprendre Java (ou traîner tout le runtime Chromium d'Electron dans un simple utilitaire) restent en JavaScript de bout en bout, tout en produisant une application rapide et d'apparence native. L'API chaînable garde le code compact et lisible, et le concepteur d'interface visuel inclus permet de prototyper une interface en quelques minutes sans toucher à un gestionnaire de mise en page à la main. C'est le genre d'outil qui rend "bricoler vite fait un outil de bureau" vraiment rapide.
`
import "swing-ui";
class AwesomeApp extends Window {
constructor() {
super();
this.text("Hello World App").size(400, 200).show();
this.button = new Button("Click Me").position(15, 15).addTo(this).onAction(e => alert("Hello from swing-ui!"));
}
}
globalThis.app = new AwesomeApp();
`
Nécessite Java 11+ installé en plus de l'environnement d'exécution JS de votre choix. Disponible dès maintenant sur npm.
Traduit automatiquement à partir de l'original du créateur. Voir l'original
- Accroche
- A simple and powerful graphical user interface for Node.js/Bun/Deno on Windows/macOS/Linux, for native desktop apps
- Description
- **swing-ui** lets you build real, native-feeling desktop applications for **Windows, Linux, and macOS** — using nothing but JavaScript. No Electron bloat, no browser under the hood, no HTML/CSS wrangling. Just write JS in **Node.js, Bun, or Deno v2+**, and get a genuine Java Swing GUI app. ## What It Does Under the hood, swing-ui bridges your JavaScript runtime directly to Java's mature, battle-tested Swing toolkit with our upgrades. You get a full library of upgraded desktop UI components — windows, buttons, tables, tabs, tree views, sliders, menus, tray icons, custom media player, and more — all controllable with clean, synchronous JavaScript calls. Write the code once, ship it everywhere Java runs. ## Key Features - **True cross-platform reach** — one codebase, native apps on Windows, Linux, and macOS - **Synchronous API** — no async/await/Promise juggling just to draw a button - **Fluent, chainable syntax** — configure components jQuery-style in a single line - **Visual GUI Designer included** — drag-and-drop your interface, skip the boilerplate entirely - **Rich component library** — from data tables and split panes to drag-and-drop, clipboard support, and undo/redo - **Multiple themes** — system look, classic Metal, and polished FlatLaf light/dark themes out of the box - **No browser required** — zero HTML/CSS overhead, just a lean native window - **Simple install** — one `npm install swing-ui` and you're building ## Why Builders Love It Developers who'd normally have to learn Java (or drag Electron's entire Chromium runtime into a simple utility app) get to stay in JavaScript the whole way through — while still producing a fast, native-feeling application. The chainable API keeps code compact and readable, and the bundled Visual GUI Designer means you can prototype an interface in minutes without touching a layout manager by hand. It's the kind of tool that makes "just whip up a quick desktop tool" actually quick. ` import "swing-ui"; class AwesomeApp extends Window { constructor() { super(); this.text("Hello World App").size(400, 200).show(); this.button = new Button("Click Me").position(15, 15).addTo(this).onAction(e => alert("Hello from swing-ui!")); } } globalThis.app = new AwesomeApp(); ` Requires Java 11+ installed alongside your JS runtime of choice. Available now on npm.
Captures d'écran du produit
3 IMAGES (CLIQUEZ POUR AGRANDIR)ANNONCE DE VOL
Partagez le lancement de swing-ui JavaScript GUI module
Radio du cockpit
ATC EN DIRECTFréquence directe avec les pilotes et l'équipage de swing-ui JavaScript GUI module
Plus dans Developer Tools
ToolVerifiedA hand-checked directory of new tools, each reviewed by a person before it publishes. Add yours for free. Approval cannoStackLedgeA curated directory of automation, AI and SaaS tools — including n8n workflows, community nodes and hosting. Every listi
WidgIqProvide AI-powered customer support widget for your website
RendbenUSDC checkout that pays your own wallet instantlyVibecheck — is your app leaking?A free, open-source security report card for AI-built apps. See exactly what a stranger can read from your Supabase proj
LinkSwapLinkSwap is a backlink exchange for coding agents.
Lancés à la même période
LaunchItThe launchpad for makers and early-stage startups: guaranteed homepage visibility, a permanent listing, and a community
MathPalDrag a box around any math problem on your screen and get the full worked solution beside it.
Tous les lancements Developer Tools Découvrir tous les lancements
