Pages

Thursday, January 27, 2011

CS410 GDB Solution

Windows Foundation Classes for Java (WFC) provides a framework of Java packages that support components targeted for the Microsoft Windows operating system and the Dynamic HTML object model. WFC is tightly integrated with the Microsoft Visual J++™ development environment and provides a full set of Windows controls written in Java. Building a Java application for Windows is made much easier by this tight integration and the support of features such as IntelliSense, the Forms Designer, the Application Wizard, and the Object Browser. While these Visual J++ features put you well on your way to creating applications, you'll probably want to understand the structure and logic behind the packages and classes that make up WFC.

The purpose of this section is to provide a conceptual framework for the WFC packages and classes and to explain some of the fundamental WFC models. Many of the packages exist as infrastructure for the component model and can be ignored by developers focusing on using the WFC controls. Other packages are most easily accessed from the Visual J++ Forms Designer. When you start exploring the WFC library, you'll want to know which packages and classes are important for your particular application.

.................

First thing about Windows - it is a multi-tasking environment. That means that it can actually run more than one program at one time, giving you higher efficiency. You'll need to process code for each program simultaneously, which is no easy feat. So, the makers of Windows created a system where each program was like a procedure - code was run only when the system requested for it. This meant that they needed to create a whole new system for Windows, containing the API (Application Program Interface). Code was in the form of 'events'. Only when an event occurs will code be run. Now you know why Delphi makes you type code that way!

* WFC Packages provides a high-level overview of the main packages that make up WFC.
* Working with WFC Visual Components describes the controls, forms, and graphical objects in WFC, which include the following subtopics:
o Windows Visual Components
o Dynamic HTML Visual Components
* Handling Events in WFC describes the use of delegates for handling events.
* Localizing Your Application describes the Visual J++ and WFC support and methodology for localizing your project in various languages.
* Using WFC Application Services describes some of the core application features and includes the following subtopics:
o Starting and Quitting an Application
o Handling Application Events
o Accessing System Information
o Performing Clipboard and Drag-and-Drop Operations
* Using Java Threads with WFC describes the threading model for WFC and includes the following subtopics:
o Mixing Java and Win32 Threading Models
o Creating and Exiting a Thread
o Using Thread Storage
o Working with Thread Exceptions

Is this blog is useful for you?

Powered by Blogger.