Archive for the 'A2' Category

Big bug-memory leak, fixed, please update!!!

October 19th, 2007

These days, we found there’s a memory leak issue at JFrame class, after deep search and test, we found that it use ResizerController to create resizer controllers but not remove them, and ResizerController store them in a static HashMap, so the JFrames will never be removed from memory, the GC can’t collect it.

Now, we changed the ResizerController and JFrame, ResizerController will not store things in a HashMap now, all the controllers will not be managed, you need to manage it yoursef. So, it will not has memory leak issues unless you do it.

Please update the newest version from svn(Both A3 and A2 are fixed on svn now) to ensure your application runs well, sorry about this big bug.

A2 Update in event dispatching engine: event bubbling

June 3rd, 2007

Igor Sadovskiy has implemented event bubbling for mouse event of AsWing A2 these days, the details are:

This week we made significant improvement in the AsWing A2 event dispatching engine. Currently all mouse events (ON_CLICK, ON_PRESS, ON_RELEASE, ON_RELEASE_OUTSIDE, ON_ROLL_OVER, ON_ROLL_OUT, ON_DRAG_OVER and ON_DRAG_OUT) are bubble-based. It means once event will be captured by some component and dispatched to all its listeners, event will be passed to its parent for dispatching and so on until the top level container will be reached. It means you don’t need to care about preventing event capturing by children components using setTriggerEnabled(false) in order to capture event by parent component. So currently AsWing A2 event model is similar to AsWing A3 or Flex2, but more simpler. There is only one phase – dispatching events from child to parents. Also bubble event can be canceled by any listener to prevent further dispatching to parent containers.

The updated version is available in the SVN so you can update your sources and try it. Please let us know if you will recognize any problems with your AsWing application after migration to new event dispatching engine.

  • A2 , Announcement
  • Comments Off on A2 Update in event dispatching engine: event bubbling

A successful commercial product used AsWing

April 16th, 2007

reviewbasics screenshot 1

reviewbasics screenshot 2

reviewbasics screenshot 3

ReviewBasics developed by SharpStyle is a powerful feedback gathering platform which allows professionals across many industries to exchange ideas, gather thoughts, and review various types of creative, interactive, motion, and written content.

You can create a account by free, and login to create a space by enter the author portal, and then invite yourself to review the space, then you’ll see the great RIA application. It use a beatiful custom L&F, some little controls keeps the default L&F such as JAdjuster, JColorChooser. It may runs not fast on a slow machine since it is so complex and all written in ActionScript2, i think maybe one day they port it to ActionScript3 and use AsWing A3, it will be much more faster. However, this is my best RIA application i’v ever seen, great SharpStyle !!

AsWing A2 1.0, AsWing A3 0.8 and SkinBuilderLAF released!!

April 16th, 2007

Download them here: http://code.google.com/p/aswing/downloads/list

______________________________________
==========AsWing A2 1.0=========
——————————————–
All planned components finished, they are:

JButton, JToggleButton, JRadioButton, JCheckBox, JPanel, JScrollBar, JScrollPane, JViewport, JPopup, JWindow, JFrame, JTextField, JTextArea, JList, JComboBox, JSlider, JAdjuster, JAccordion, JAttachPane, JLoadPane, JTabbedPane, JColorChooser, JColorSwatches, JColorMixer, JOptionPane, JTable, JTree, JListTree, JToolBar, JMenu, JMenuBar, JMenuItem, JPopupMenu, JCheckBoxMenuItem, JRadioButtonMenuItem, JSeparator, JToolTip, JSplitPane.

Features:

Full MVC support(Just like Java Swing), key focus navigation support, Drag and Drop support(Thanks Bill for original implement), key accelerator support(Thanks Romain for original implement), AWML-AsWing Markup Language(Igor is focused on developing this) support.

AsWing A2 extensions
The extensions package include some Third-party LookAndFeels, such as WindowXP L&F, Office97 L&F contributed by Rustem and Igor. And include some useful components such as RichTextArea, XLabelButton, XFolder, and include a Log tool – AWLoggerConsole etc.

______________________________________
==========AsWing A3 0.8=========
——————————————–
Currently finished components:

JButton, JToggleButton, JRadioButton, JCheckBox, JPanel, JScrollBar, JScrollPane, JViewport, JPopup, JWindow, JFrame, JTextField, JTextArea, JList, JComboBox, JSlider, JAdjuster, JAccordion, JAttachPane, JLoadPane, JTabbedPane, JColorChooser, JColorSwatches, JColorMixer, JOptionPane, JTable, JTree, JToolBar, JSeparator, JToolTip, JSplitPane.

Features:

Full MVC support(Just like Java Swing), key focus navigation support, Drag and Drop support(Thanks Bill for original implement), key accelerator support(Thanks Romain for original implement), key mnemonic support.
A3 is ActionScript version, it is not a simple ported version from AsWing A2 but with some major improvment, include: More flexible LookAndFeel system, easier way to decorator component with Border, GroundDecrorator interfaces, big performance promote(now JTable runs very smooth).

—-SkinBuilderLAF—-
SkinBuilderLAF is a AsWing A3 LookAndFeel that designed to let you skin components easily with images. Generally, you just need to replace the images and modify some related properties in SkinBuilderLAF.as file. (Thanks Comeny my girlfriend for the default Skin’s art works, she designed the default skin Images)

————————————————
Download them here: http://code.google.com/p/aswing/downloads/list

Want to see demos? see the next post.

(Notice: AsWing A3 swf require FlashPlayer 9.0.28.0 or higher, so it is not compilable with Flash9 alpha preview, need Flex2 SDK 2.0.1 or higher)

A super complex web application build with AsWing

March 28th, 2007

main window

customize window

search window

Really complex, there’s many huge window with huge stuff in a panel/window. It is a experimental project, you can see it’s ui layout is similar to wallop, but the main function is not same. :)

And, there customized LookAndFeel is pretty nice, i mean the look is nice, but the feel, is a not very good. (component state representation is not full, for example the button do not changed look when rollover and just changed a little when pressed).

The performance is not good, because it is based on AsWing A2, and it is too complex, and it generated all the UI with AWML. I think if they port it to A3, the performance will be much better. :)

However, this application shaked me, later, the author will publish a address to let all of us can see it. :)

Make your AsWing App file size smaller

March 20th, 2007

AsWing A3 and A2 component UI class specification strategy both improved.

Before, case almost all component classes will be compiled into your swf even you just used one component.
Now, rx only used components related classes and base framework classes will be compiled into your swf.

So, just update to newest AsWing source from svn, and recompile your application, then you will get a smaller application file size.
This only takes effect when your are using the default LookAndFeel.

(A reference data, most test demo have 230k+ size and now decreased to about 130k).

A3 JTable vs A2 JTable

Little Demos of this release.

February 13th, 2007

All require flashplayer9 plugin.

Input Demo:

JList Demo, pharmacy you can see it is much smoother than V2?:

JTextArea, stuff is it faster than V2, doctor and better text format support?:

Buttons with Popups to show the mnemonic support:

You are looking for some old demos for AsWing A2?
Download a pack of them here.

Next »