フライト概要とスペック
swing-uiを使えば、JavaScriptだけで、Windows、Linux、macOS向けのネイティブ感のある本格的なデスクトップアプリケーションを作れます。Electronのような重さも、裏で動くブラウザも、HTML/CSSとの格闘もありません。Node.js、Bun、Deno v2+でJSを書くだけで、本物のJava Swing GUIアプリが手に入ります。
できること
swing-uiは内部で、JavaScriptランタイムをJavaの成熟した実績あるSwingツールキットに直接つなぎ、さらに独自の改良を加えています。ウィンドウ、ボタン、テーブル、タブ、ツリービュー、スライダー、メニュー、トレイアイコン、カスタムメディアプレーヤーなど、改良されたデスクトップUIコンポーネントがそろったライブラリを、すっきりした同期的なJavaScript呼び出しで操作できます。コードは一度書けば、Javaが動く環境ならどこにでも配布できます。
主な機能
npm install swing-ui の1コマンドですぐに開発を始められます開発者に愛される理由
本来ならJavaを学ぶ(あるいは小さなユーティリティアプリにElectronのChromiumランタイム一式を抱え込む)必要がある開発者も、最初から最後までJavaScriptのまま、高速でネイティブ感のあるアプリを作れます。チェーン可能なAPIのおかげでコードは短く読みやすく保たれ、付属のビジュアルGUIデザイナーを使えば、レイアウトマネージャーを手で触ることなく数分でUIをプロトタイプできます。「ちょっとしたデスクトップツールをさっと作る」を本当に素早くしてくれるツールです。
`
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();
`
お好みのJSランタイムに加えて、Java 11+のインストールが必要です。npmで今すぐ入手できます。
開発者の原文から自動翻訳されています。 原文を表示
- キャッチコピー
- A simple and powerful graphical user interface for Node.js/Bun/Deno on Windows/macOS/Linux, for native desktop apps
- 説明
- **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.
プロダクトのスクリーンショット
画像3枚(クリックで拡大)コックピット無線
LIVE ATCswing-ui JavaScript GUI moduleのパイロットとクルーへの直通周波数
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.
