swing-ui JavaScript GUI module logo
aterrizado

swing-ui JavaScript GUI module

Una interfaz gráfica simple y potente para Node.js/Bun/Deno en Windows/macOS/Linux, para apps de escritorio nativas

Visitar el sitio web

Informe de vuelo y especificaciones

REF: DL090 / C24

swing-ui te permite crear aplicaciones de escritorio reales, con aspecto nativo, para Windows, Linux y macOS, usando solamente JavaScript. Sin el peso de Electron, sin navegador por debajo, sin pelear con HTML/CSS. Escribe JS en Node.js, Bun o Deno v2+ y obtén una auténtica app GUI de Java Swing.

Qué hace

Por debajo, swing-ui conecta tu entorno de ejecución de JavaScript directamente con Swing, el maduro y probado toolkit de Java, con nuestras mejoras. Obtienes una biblioteca completa de componentes de interfaz de escritorio mejorados (ventanas, botones, tablas, pestañas, vistas de árbol, deslizadores, menús, iconos de bandeja, reproductor multimedia personalizado y más), todos controlables con llamadas JavaScript sincrónicas y limpias. Escribe el código una vez y distribúyelo en todo lo que ejecute Java.

Características principales

Alcance multiplataforma real - una sola base de código, apps nativas en Windows, Linux y macOS
API sincrónica - sin malabares con async/await/Promise solo para dibujar un botón
Sintaxis fluida y encadenable - configura componentes al estilo jQuery en una sola línea
Diseñador visual de GUI incluido - arrastra y suelta tu interfaz y olvídate del código repetitivo
Rica biblioteca de componentes - desde tablas de datos y paneles divididos hasta arrastrar y soltar, soporte de portapapeles y deshacer/rehacer
Varios temas - aspecto del sistema, Metal clásico y elegantes temas FlatLaf claro/oscuro listos para usar
Sin navegador - cero sobrecarga de HTML/CSS, solo una ventana nativa ligera
Instalación simple - un solo npm install swing-ui y ya estás construyendo

Por qué lo aman los desarrolladores

Quienes normalmente tendrían que aprender Java (o cargar todo el runtime de Chromium de Electron en una simple utilidad) pueden quedarse en JavaScript de principio a fin, y aun así obtener una aplicación rápida y de aspecto nativo. La API encadenable mantiene el código compacto y legible, y el Diseñador visual de GUI incluido te permite prototipar una interfaz en minutos sin tocar a mano un gestor de diseño. Es el tipo de herramienta que hace que "armar rápido una herramienta de escritorio" sea realmente rápido.

`

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();

`

Requiere Java 11+ instalado junto con el entorno de ejecución de JS que elijas. Disponible ahora en npm.

Traducido automáticamente del original del creador. Ver el original
Eslogan
A simple and powerful graphical user interface for Node.js/Bun/Deno on Windows/macOS/Linux, for native desktop apps
Descripción
**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.

Capturas del producto

3 IMÁGENES (CLIC PARA AMPLIAR)

DIFUSIÓN DEL VUELO

Comparte el lanzamiento de swing-ui JavaScript GUI module

Radio de cabina

ATC EN VIVO

Frecuencia directa con los pilotos y la tripulación de swing-ui JavaScript GUI module

0 TRANSMISIONES
CONECTANDO CON LA FRECUENCIA...
Ánimos en 1 clic ↓

Lanzados por las mismas fechas

Todos los lanzamientos de Developer Tools Descubre todos los lanzamientos