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)
This is a book excerpt from the book RIch Internet applications with Adobe
Flex and Java.
Configuring the Server-Side Destination and Proxy
For security reasons (similar to the Java sandbox concept), Flash clients can
only access the domains they come from, unless other servers declare,
explicitly or implicitly, trust to SWF files downloaded from our domain by a
corresponding record in a crossdomain.xml file. But our portfolio SWF wasn't
loaded from finance.yahoo.com, and we aren't allowed to install
crossdomain.xml on the Yahoo! servers. We'll use another technique called
Flex p... (more)
Browser-based applications are widely used and we like the fact that we can
access them from anywhere. But from the users' perspective, the productivity
level of Web applications still doesn't approximate the productivity of
desktop programs. The good news is the gap is closing: the accumulated
potential of multiple technologies has boosted a whole new breed of
HTML-based apps that are as powerful as the desktop ones. Meet AJAX.
What Is AJAX?
can establish socket communication between browser-based JavaScri... (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)
The ability to deploy applications on the Internet or intranet has become
essential for application development, especially when developing new
applications with Internet/J2EE-compatible tools. For PB developers this
meant that instead of a single high-level integrated environment, they had to
use low-level tools and a multitude of languages and technologies, and write
more code while delivering less functionality. The problem became even more
apparent when they needed to transfer existing applications to the Web.
As we'll see in this article, this is no longer the case. Deploymen... (more)