Project

swing

0.0
No commit activity in last 3 years
No release in over 3 years
Straightforward wrappers for javax.swing Components that simplify Swing code in JRuby-based GUI applications
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.0.0

Runtime

>= 1.0.0
 Project Readme

swing¶ ↑

by: Arvicco url: github.com/arvicco/swing

DESCRIPTION:¶ ↑

Straightforward wrappers for javax.swing Components that simplify Swing code in JRuby-based GUI applications.

PROBLEMS:¶ ↑

This code is NOT production-ready! For production-ready code, try something like Rubeus: [github.com/akm/rubeus]. Personally, I’ve tried to use Rubeus and its auto-magic worked great for some use-cases, but I had problems extending its code when I needed to change default Rubeus behavior. For the life of me, I cannot figure out where all this Rubeus magic happens and how to change ANYTHING without the whole stage with smoke and mirrors falling down on me.

Maybe it’s just me - but I’m uncomfortable with complicated code and prefer much more straightforward solutions. So, I intend this lib to be straightforward - even at the expense of performance.

FEATURES:¶ ↑

Library adds extended functionality to original javax.swing classes, such as:

  • Ability to set attributes via constructor options: Swing::JButton.new ‘Title’, :enabled => false

  • Ability to define settable attributes/properties via attr_setter class macro, as well as (optional) defaults for them that may be different from Swing’s original defaults

  • Auto adding component to parent if ops is given to initializer

SYNOPSIS:¶ ↑

FIXME (code sample of usage)

REQUIREMENTS:¶ ↑

  • FIXME (list of requirements)

INSTALL:¶ ↑

$ sudo gem install swing

LICENSE:¶ ↑

Copyright © 2011 Arvicco. See LICENSE for details.