A typical Java developer knows that when you need to develop a GUI for a Java
application, Swing is the tool. Eclipse SWT also has a number of followers,
but the majority of people use Java Swing. For the past 10 years, it was a
given that Swing development wouldn't be easy; you have to master working
with the event-dispatch thread, GridBaglayout, and the like. Recently, the
NetBeans team created a nice GUI designer called Matisse, which was also
ported to MyEclipse. Prior to Matisse, JBuilder had the best Swing designer,
but it was too expensive. Now a good designer comes with NetBeans for free.
Why even consider Flex for developing Rich Internet Applications (RIA)?
First, we'll give the short answer. Just look at the code in Listing 1. This
code compiles and runs in the Flash player and produces the output shown in
Figure 1. Yes, it's a tree control with several no... (more)
The simplest way to explain Flex Data Services (FDS) is to compare them with
Flex Remoting. Simply put, FDS addresses only a subset of operations
facilitated via Flex Remoting - result set requests. However, whereas Flex
Remoting enables one-way requests, FDS combines one-way requests with the
publish/subscribe mechanism so that besides the original result set FDS sends
the client live updates produced by other clients of the same destination.
And there's one more dimension in which Data Services depart from Flex
Remoting - support for hierarchical collections, but we won't be co... (more)
I'd like to use this opportunity and invite Flex developers living in Europe
to attend our Advanced Flex Master Class in Brussels, Belgium on March 1 and
In my previous post I pointed to the BlazeDS classes that need to be replaced
in order to prevent ActionScript Number.NaN from turning into Long or Integer
zeroes on the MessageBroker side.
The recommendation boiled down to re-jaring flex-messaging-core.jar or
placing the modified classes somewhere earlier in the application server's
If neither option is allowed, you may configure your endpoint with the cust... (more)
In Part 1 (CFDJ, Vol. 8, issue 10) we introduced the destination-aware grid,
formatters, and renderers. In this article we are continuing our discussion
about datagrid renderers and...
RadioButtonGroupBox as Drop-In Renderer
We can apply similar techniques to RadioButton controls. The following code
snippet suggests how the group of RadioButton controls can be used as a
drop-in item renderer (and editor). Instead of an onValue/offValue pair, we
are introducing an array of options (we could have gone further and upgraded
to , which is similar to the Bu... (more)
Remember this old little rhyme?
For want of a nail, the shoe was lost;
For want of the shoe, the horse was lost;
For want of the horse, the rider was lost;
For want of the rider, the battle was lost;
For want of the battle, the kingdom was lost;
And all for the want of a horseshoe nail.
This little poem often comes to my mind as a see increasing number of
amateurs perceiving Flex as yet another "library of controls". The fact is,
it is very easy to start coding in Flex. So much that hot-heads get on the
coding spree before noticing that Flex is a beautifully crafted framework
with pro... (more)