Skip to main content

Makes using Java's Swing UI toolkit easy on Jython

Project description

A collection of utility classes and helper functions to make it easier to build Swing user interfaces with Jython. The helpers provide “pythonic” alternatives to often clumsy Java APIs.

Included in this package:

  • enhanced table, list and combobox models

  • JavaBeans support and automatic property change notification

  • an alternative API for adding/removing event listeners

  • a powerful data binding system that supports Swing components

  • preferences access

  • text field formatters

  • shortcuts for loading resources (images or generic data) via class loaders

  • shortcuts for basic dialogs

  • enhanced file selection dialogs

  • wrappers for loading JFormDesigner forms

  • decorators and functions for safely accessing the GUI from any thread

  • support for running background tasks in separate threads

Requires Jython 2.7 or later.

Documentation can be found at the Python Packaging documentation repository.

The source code and the issue tracker can be found at GitHub.

Building jar files

To build a jar file, you need to tell ant where to find jython.jar, by defining the jythonjarpath property, either as a command line option to ant, or in the build.properties file.

To build a jar file containing the Python source files:

ant srcjar

To build a jar containing compiled bytecode files:

ant binjar

Building signed jar files

Signing the jar files requires three additional properties to be defined: signer, storepass and keypass. It also requires that you have a matching code signing key in your keystore (~/.keystore).

To build a signed source jar:

ant signsrcjar

To build a signed, compiled jar (suitable for Java Web Start):

ant signbinjar

The generated jar file will be timestamped using Safe Creative’s free timestamping service. If you want to use a different timestamping authority, you can override the tsaurl property in your own build.properties file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jython-swingutils-2.1.2.tar.gz (45.7 kB view details)

Uploaded Source

Built Distribution

jython_swingutils-2.1.2-py2.py3-none-any.whl (34.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file jython-swingutils-2.1.2.tar.gz.

File metadata

File hashes

Hashes for jython-swingutils-2.1.2.tar.gz
Algorithm Hash digest
SHA256 7a58b9bd6d1eeaa2a31de32b834717d1a4d5b4ce8f06ad010f5b413e941e569d
MD5 e21dc8eccdd3921da57e10790907c72e
BLAKE2b-256 a851371b11c293247a96ef5b6cf121175e1f9c694383d181643694abfaee40f3

See more details on using hashes here.

File details

Details for the file jython_swingutils-2.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for jython_swingutils-2.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ab82d76794e3c685434b2bee301fae8166cda5003b09bbdabacd09cd306f2b27
MD5 22572f05a1f0115c184b2fe78ee2c11f
BLAKE2b-256 160ab5e013e3d7497127271721643617acab68bef01ae7b460e39524323ec821

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page