|By John Fronckowiak||
|July 1, 1997 12:00 AM EDT||
What Is The AFC?
I know that football season is right around the corner, but you're not going to find an in-depth analysis of football's weaker conference here. The Application Foundation Classes, or AFC, are Microsoft's answer to the Abstract Windowing Toolkit (AWT). The AFC builds on the AWT foundation to provide more user-friendly controls for your applications. The AFC is currently available only as a preview release and requires a Java 1.02 or 1.1 compatible compiler and Virtual Machine.
Last month, I showed you how to obtain, install and use the latest Java SDK 2.0 from Visual J++. You'll need to get the Java SDK 2.0 to begin using the Application Foundations Classes. The Java SDK 2.0 currently is available in a preview release. Check out the Microsoft Java SDK Web site at http://www.microsoft.com/java for the latest information.
The Application Foundation Classes are provided in three packages:
The User Interface package is the heart of the AFC. The focus here will be on how to begin to integrate the User Interface package into your own applications. I'll take a closer look at the FX and Resource packages in the near future.
The Application Foundation Classes are built on the foundation laid by the AWT. If you're already familiar with using the AWT, much of what you already know will remain familiar. Figure 1 illustrates the Application Foundation Class Hierarchy. The class names preceded by an asterisk (*) are AWT classes. As you can see, all of the Application Foundation Classes are extended from these base AWT classes. Figure 2 illustrates the class hierarchy of the user interface elements provided by the Application Foundation Classes. Many of these elements will be familiar to those familiar with AWT (i.e., button, check boxes, radio button) while others were not previously available (i.e., tree control, marquee).
AWT and AFC Compared
Before you think, "Here goes Microsoft again, trying to usurp yet another piece of the Java world", let's take a closer look. The Application Foundation Classes are built upon and extend the AWT, making it possible to mix both user interface models in your applications, which helps to preserve your user interface investment in your current applications and ease the transition over to a new programming model. Other user interface class models usually force a developer to choose between the AWT and another library.
Like the AWT, the Application Foundation Classes are written completely in Java, making them completely cross platform-independent. They provide new and better scroll bars and sliders, a tree control, a tab display, the ability to move through the user interface using just the keyboard and a file system explorer. The Application Foundation Classes permit the development of applications with user interfaces that are familiar to users of traditional Windows-based applications.
How To Use The AFC
Building Java applications with the Application Foundation Classes is no different from building your applications using the AWT. Instead of using the Applet and Frame classes, the UIApplet and UIFrame classes are substituted instead. Since the UIApplet and UIFrame classes are extended from the AWT Applet and Frame classes, it is possible to mix both AWT and Application Foundation Classes components. Listing 1 demonstrates how to create a shell AFC applet. Listing 2 demonstrates how to call the HTML necessary to call the shell applet. The AFC can also be used to create standalone applications. Listing 3 demonstrates how to create a standalone shell application using the Application Foundation Classes. Remember, you-ll need to have the Microsoft Java SDK 2.0 preview version installed and have your Visual J++ environment configured to use the pre-release version of the compiler. I described how to configure your Visual J++ environment to use the new version of the compiler in detail last month. In its current release, the Application Foundation Classes support both the traditional event handling model as used in these examples and the event delegation model supported by Java 1.1.
The Application Foundation Classes are available as part of the Microsoft Java SDK 2.0 on the Microsoft Java Web site, http://www.microsoft.com/java. If you're looking to use the Application Foundation Classes on non-Windows based platforms, the classes are also provided separately. Since the new compiler and the Application Foundation Classes are still pre-release versions, a few bugs still exist and they aren't optimized yet for full production use. The final version of the Application Foundation Classes is scheduled to ship with Internet Explorer Version 4.0 later this year.
It's clear that the Application Foundation Classes will play an increasingly important role in the development of Java applications from a Microsoft perspective. It's uncertain if the Application Foundation Classes will win over the hearts and minds of all Java developers - given the current state of relations between Microsoft, Sun and JavaSoft. The Application Foundation Classes do provide a number of user interface elements that allow developers to create applications with familiar user interfaces (at least to Windows users). I'm sure that when the Application Foundation Classes and the Java SDK 2.0 are released in their final form, Microsoft will provide Visual J++ wizards which help to automate the process of creating applications and applets which use the Application Foundation Classes.
Microsoft currently does not plan on releasing the source code for the Application Foundation Classes. The plan is to make up for the lack of source code with documentation and support. This stance may hurt the Application Foundation Classes- chances of gaining wider acceptance; stay tuned though, this story is just beginning.
Next Month: Using Application Foundation Class User Interface Controls.
SYS-CON Events announced today that MangoApps will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY. MangoApps provides modern company intranets and team collaboration software, allowing workers to stay connected and productive from anywhere in the world and from any device. For more information, please visit https://www.mangoapps.com/.
May. 29, 2016 10:15 PM EDT Reads: 1,031
SYS-CON Events announced today that EastBanc Technologies will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY. EastBanc Technologies has been working at the frontier of technology since 1999. Today, the firm provides full-lifecycle software development delivering flexible technology solutions that seamlessly integrate with existing systems – whether on premise or cloud. EastBanc Technologies partners with p...
May. 29, 2016 10:00 PM EDT Reads: 2,392
In his session at 18th Cloud Expo, Bruce Swann, Senior Product Marketing Manager at Adobe, will discuss how the Adobe Marketing Cloud can help marketers embrace opportunities for personalized, relevant and real-time customer engagement across offline (direct mail, point of sale, call center) and digital (email, website, SMS, mobile apps, social networks, connected objects). Bruce Swann has more than 15 years of experience working with digital marketing disciplines like web analytics, social med...
May. 29, 2016 06:00 PM EDT Reads: 1,451
SYS-CON Events announced today that ContentMX, the marketing technology and services company with a singular mission to increase engagement and drive more conversations for enterprise, channel and SMB technology marketers, has been named “Sponsor & Exhibitor Lounge Sponsor” of SYS-CON's 18th Cloud Expo, which will take place on June 7-9, 2016, at the Javits Center in New York City, New York. “CloudExpo is a great opportunity to start a conversation with new prospects, but what happens after the...
May. 29, 2016 04:45 PM EDT Reads: 1,317
WebRTC is bringing significant change to the communications landscape that will bridge the worlds of web and telephony, making the Internet the new standard for communications. Cloud9 took the road less traveled and used WebRTC to create a downloadable enterprise-grade communications platform that is changing the communication dynamic in the financial sector. In his session at @ThingsExpo, Leo Papadopoulos, CTO of Cloud9, will discuss the importance of WebRTC and how it enables companies to fo...
May. 29, 2016 04:15 PM EDT Reads: 2,593
SYS-CON Events announced today Object Management Group® has been named “Media Sponsor” of SYS-CON's 18th International Cloud Expo, which will take place on June 7–9, 2016, at the Javits Center in New York City, NY, and the 19th International Cloud Expo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA.
May. 29, 2016 04:00 PM EDT Reads: 2,661
The IoT is changing the way enterprises conduct business. In his session at @ThingsExpo, Eric Hoffman, Vice President at EastBanc Technologies, discuss how businesses can gain an edge over competitors by empowering consumers to take control through IoT. We'll cite examples such as a Washington, D.C.-based sports club that leveraged IoT and the cloud to develop a comprehensive booking system. He'll also highlight how IoT can revitalize and restore outdated business models, making them profitable...
May. 29, 2016 02:00 PM EDT Reads: 2,975
The IoTs will challenge the status quo of how IT and development organizations operate. Or will it? Certainly the fog layer of IoT requires special insights about data ontology, security and transactional integrity. But the developmental challenges are the same: People, Process and Platform. In his session at @ThingsExpo, Craig Sproule, CEO of Metavine, will demonstrate how to move beyond today's coding paradigm and share the must-have mindsets for removing complexity from the development proc...
May. 29, 2016 01:00 PM EDT Reads: 1,989
Customer experience has become a competitive differentiator for companies, and it’s imperative that brands seamlessly connect the customer journey across all platforms. With the continued explosion of IoT, join us for a look at how to build a winning digital foundation in the connected era – today and in the future. In his session at @ThingsExpo, Chris Nguyen, Group Product Marketing Manager at Adobe, will discuss how to successfully leverage mobile, rapidly deploy content, capture real-time d...
May. 29, 2016 12:45 PM EDT Reads: 1,686
What a difference a year makes. Organizations aren’t just talking about IoT possibilities, it is now baked into their core business strategy. With IoT, billions of devices generating data from different companies on different networks around the globe need to interact. From efficiency to better customer insights to completely new business models, IoT will turn traditional business models upside down. In the new customer-centric age, the key to success is delivering critical services and apps wit...
May. 29, 2016 10:30 AM EDT Reads: 1,299
Join us at Cloud Expo | @ThingsExpo 2016 – June 7-9 at the Javits Center in New York City and November 1-3 at the Santa Clara Convention Center in Santa Clara, CA – and deliver your unique message in a way that is striking and unforgettable by taking advantage of SYS-CON's unmatched high-impact, result-driven event / media packages.
May. 29, 2016 10:00 AM EDT Reads: 2,552
In his keynote at 18th Cloud Expo, Andrew Keys, Co-Founder of ConsenSys Enterprise, will provide an overview of the evolution of the Internet and the Database and the future of their combination – the Blockchain. Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life ...
May. 29, 2016 09:45 AM EDT Reads: 2,043
SYS-CON Events announced today that BMC Software has been named "Siver Sponsor" of SYS-CON's 18th Cloud Expo, which will take place on June 7-9, 2015 at the Javits Center in New York, New York. BMC is a global leader in innovative software solutions that help businesses transform into digital enterprises for the ultimate competitive advantage. BMC Digital Enterprise Management is a set of innovative IT solutions designed to make digital business fast, seamless, and optimized from mainframe to mo...
May. 29, 2016 09:30 AM EDT Reads: 2,320
SYS-CON Events announced today that MobiDev will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY. MobiDev is a software company that develops and delivers turn-key mobile apps, websites, web services, and complex software systems for startups and enterprises. Since 2009 it has grown from a small group of passionate engineers and business managers to a full-scale mobile software company with over 200 develope...
May. 29, 2016 08:15 AM EDT Reads: 2,773
SoftLayer operates a global cloud infrastructure platform built for Internet scale. With a global footprint of data centers and network points of presence, SoftLayer provides infrastructure as a service to leading-edge customers ranging from Web startups to global enterprises. SoftLayer's modular architecture, full-featured API, and sophisticated automation provide unparalleled performance and control. Its flexible unified platform seamlessly spans physical and virtual devices linked via a world...
May. 29, 2016 07:00 AM EDT Reads: 2,316
SYS-CON Events announced today that Alert Logic, Inc., the leading provider of Security-as-a-Service solutions for the cloud, will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY. Alert Logic, Inc., provides Security-as-a-Service for on-premises, cloud, and hybrid infrastructures, delivering deep security insight and continuous protection for customers at a lower cost than traditional security solutions. Ful...
May. 29, 2016 06:45 AM EDT Reads: 2,967
Companies can harness IoT and predictive analytics to sustain business continuity; predict and manage site performance during emergencies; minimize expensive reactive maintenance; and forecast equipment and maintenance budgets and expenditures. Providing cost-effective, uninterrupted service is challenging, particularly for organizations with geographically dispersed operations.
May. 29, 2016 06:00 AM EDT Reads: 2,186
As cloud and storage projections continue to rise, the number of organizations moving to the cloud is escalating and it is clear cloud storage is here to stay. However, is it secure? Data is the lifeblood for government entities, countries, cloud service providers and enterprises alike and losing or exposing that data can have disastrous results. There are new concepts for data storage on the horizon that will deliver secure solutions for storing and moving sensitive data around the world. ...
May. 29, 2016 06:00 AM EDT Reads: 1,373
SYS-CON Events announced today TechTarget has been named “Media Sponsor” of SYS-CON's 18th International Cloud Expo, which will take place on June 7–9, 2016, at the Javits Center in New York City, NY, and the 19th International Cloud Expo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA. TechTarget is the Web’s leading destination for serious technology buyers researching and making enterprise technology decisions. Its extensive global networ...
May. 29, 2016 05:15 AM EDT Reads: 3,281
SYS-CON Events announced today that Commvault, a global leader in enterprise data protection and information management, has been named “Bronze Sponsor” of SYS-CON's 18th International Cloud Expo, which will take place on June 7–9, 2016, at the Javits Center in New York City, NY, and the 19th International Cloud Expo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA. Commvault is a leading provider of data protection and information management...
May. 29, 2016 04:30 AM EDT Reads: 3,267