Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

swt

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swt

  • 4.6.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

SWT

This gem contains everything required to write cross-platform desktop applications with JRuby and SWT.

Features:

  • Includes all the jar files needed.
  • Selects and loads the correct SWT jar for the platform.
  • Imports of many swt Java classes into a 1-1 mapped Ruby class hierarchy.
  • Examples to get you started. (For more see this SWT cookbook)

Why JRuby/SWT?

  • Fast, compatible Ruby implementation.
  • JRuby and SWT are flawlessly cross-platform.
  • SWT has native widgets (for the most part).
  • SWT powers Eclipse, so there's nothing you need that it doesn't do.
  • You don't need to touch Java! Write everything in Ruby.

Usage

require 'java'
require 'swt'

Running the Example

Linux / windows:

jruby examples/button.rb

On OSX:

jruby -J-XstartOnFirstThread examples/button.rb

History

4.6 Removed MacOS 32 bit support (SWT project doesn't seem to support it any more)

FAQs

Package last updated on 05 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc