Warning: include_once(/home/aswing/aswing.org/home/wp-content/plugins/wordpress-support/wordpress-support.php): failed to open stream: Permission denied in /home/aswing/aswing.org/home/wp-settings.php on line 261

Warning: include_once(): Failed opening '/home/aswing/aswing.org/home/wp-content/plugins/wordpress-support/wordpress-support.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/aswing/aswing.org/home/wp-settings.php on line 261
AsWing » 2008 » February

Archive for February, 2008

AsWing 1.3 Released

February 29th, 2008

We are happy to announce AsWing 1.3.

The major change is : Multi-Stage AIR support, food now you can create AIP application with multi-NativeWindow in AsWing; JClosableTabbedPane component added, medicine it’s JTabbedPane with close button for each tab; JFrameTitleBar extracted from JFrame, physician now you can contorl the TitleBar of a JFrame easily; Tener LAF added.

BTW: Same time we’v setup a forum for AsWing discuss bbs.aswing.org

This is the change details:
___________________AsWing A3 1.3________________
additions:

added CaveBorder
added wrapSimpleButton method to button classes
added appendAll and getSelectedButton method to ButtonGroup
added setSelectable/isSelectable method to JLabel
added EmptyIcon class
added some useful methods to ButtonGroup
added default cells render value+”” instead of value.toString, solved value null issue
added JClosableTabbedPane
added PropertyTableModel
added ensureRectVisible method to JViewport
added setTextFilters function to JLabel and buttons
added invalidatePreferSizeCaches function to Component
———-AIR multi-stage(use multi NativeWindow) support————-
Added WeakMap, WeakReference tool to avoid memory leak
CursorManager, FocusManager from static/sington to normal instance obj per stage.
KeyboardManager from sington to normal instance per JRootPane.

bugfixes:

fixed The button text is under icon then can’t see bug
fixed TabbedPaneUIs bugs
fixed TabbedPane Tab and Accordion Header text font and color can’t change bug.
fixed JTextComponent some times with less width when column is set 0

———migrate from 1.2 to 1.3:———-

AsWing Core:

Change CursorManager static method call to CursorManager.getManager().methodCall
Change FocusManager.getDefaultManager to FocusManager.getManager(stage)
For KeyboardManager, now you need to create your KeyboardManager instance or get instances from JRootPane.getKeyboardManager()

LookAndFeels based on SkinBuilderLAF:

change
“Frame.titleBarLayout”, SkinFrameTitleBarLayout,
to

“Frame.titleBarBG”, SkinFrameTitleBarBG,
“Frame.titleBarButtonGap”, 2,

_____________________________________________________

Tener LAF,

Tener art works is designed by MohsinNaqi http://mohsinnaqi.deviantart.com/.
Code works is done by Harry http://harryxu.cn/blog/.

Here’s a screenshot of GuiBuilder with Tener LAF:

tenner laf(Click for large pic)

All these are downloadable at http://code.google.com/p/aswing/downloads/list now.

Enjoy!

AsWing forum is open

February 21st, 2008

Before, sick we think there will be only on Stage instance for one actionscript programme, but AIR NativeWindow make us know we are wrong. So, for AIR full support, we must remove the dependence on sington Stage instance(for example widely AsWingManager.getStage() calls)。

These days, we got this almost done, now, for a AsWing programme, you can have more than one Stage exists, components here and there on different Stage at same time runs well.

Check this branches http://svn.aswing.org/aswing/branches/AsWing_multiStage/

Just little api changed, importances are FocusManager, CursorManager, when you use them, you’ll see, most need you pass Stage param to get the instance, the managers will create/get right instance for you automatically. KeyboardManager now will not be sington too, it’s instances will belongs to JRootPanes.

Hope it can help your AIR developing, feedback/bug reports are helpful. We’ll release a official version when it get stable later.

See this demo:

You can add controls into the title bar, obesity
also, more info
you can control or change the regular maximize/minimize/close/restore buttons.
Are you missing this feature for a long time? It is at http://svn.aswing.org/aswing/branches/AsWing_multiStage/ for days already. We move them into trunk soon later.
We setup a forum for AsWing discuss, cure sales check here http://bbs.aswing.org
We prefer to discuss on forum, see however our mail list will be keeping in supported, human enhancement
but hope we can all move to the forum to discuss mostly.

Same time, AsWing Chinese site is open, http://cn.aswing.org if you read Chinese, it will be more helpful.

Cheers~

Will you like JFrameTitleBar?

February 9th, 2008

Before, sick we think there will be only on Stage instance for one actionscript programme, but AIR NativeWindow make us know we are wrong. So, for AIR full support, we must remove the dependence on sington Stage instance(for example widely AsWingManager.getStage() calls)。

These days, we got this almost done, now, for a AsWing programme, you can have more than one Stage exists, components here and there on different Stage at same time runs well.

Check this branches http://svn.aswing.org/aswing/branches/AsWing_multiStage/

Just little api changed, importances are FocusManager, CursorManager, when you use them, you’ll see, most need you pass Stage param to get the instance, the managers will create/get right instance for you automatically. KeyboardManager now will not be sington too, it’s instances will belongs to JRootPanes.

Hope it can help your AIR developing, feedback/bug reports are helpful. We’ll release a official version when it get stable later.

See this demo:

You can add controls into the title bar, obesity
also, more info
you can control or change the regular maximize/minimize/close/restore buttons.
Are you missing this feature for a long time? It is at http://svn.aswing.org/aswing/branches/AsWing_multiStage/ for days already. We move them into trunk soon later.