Latest Articles

View : All | June | May | April | Alphabetical:A-Z | Z-A

Painters in LWUIT 1.1

by Biswajit Sarkar | August 2009 | Java Open Source

All LWUIT components have a multi-layered structure. The frst layer erases a visually obsolete widget, and the subsequent layers then paint the background followed by the constituent parts of the new version. As a matter of fact, the background too can be made up of several layers, and that is not all. After a form has been fully rendered, we can place a layer above it that can be drawn upon regardless of any changes or animations that may be taking place in the form below. Such a layer—known as a GlassPane—is usually transparent or translucent so that the form under it remains visible.

The classes that work as a background painter or a glass pane must implement the Painter interface. In case more than one background painter is used, they can be formed into a chain through the PainterChain class so that the background can be rendered layer-by-layer. Similarly, a glass pane also can have many layers.

In this article by Biswajit Sarkar, we shall familiarize ourselves with the Painter interface and the PainterChain class. We shall also learn, with the help of examples, how background painters and glass panes can be used.

Read Painters in LWUIT 1.1 in full

Using Themes in LWUIT 1.1: Part 1

by Biswajit Sarkar | August 2009 | Java Open Source

In an application with a large number of UI components, setting attributes for each can be a tedious task and can also lead to errors. A Theme allows us to set the style attributes for an entire class of components in a single place. This not only simplifies the task of setting attributes for all components of a particular type but also ensures that any newly added component will look just like all the others of the same type in the application. A theme thereby establishes a visual coherence through all the screens of an application.

In this two-part article by Biswajit Sarkar, we shall study themes and their usage in detail. In the first part, we will cover the following points:

  • View an existing theme using the LWUIT Designer
  • Edit a theme
  • Build a new theme
  • Preview the new theme on LWUIT demo MIDlet
Read Using Themes in LWUIT 1.1: Part 1 in full

Using Themes in LWUIT 1.1: Part 2

by Biswajit Sarkar | August 2009 | Java Open Source

In the previous part by Biswajit Sarkar, we covered working with theme files. In this part, we will focus on theming custom components, manual styling versus theming, theming on the fly, and new version of the LWUIT Designer.

Read Using Themes in LWUIT 1.1: Part 2 in full

User and Group Management: Oracle VM Manager 2.1.2

by Tarry Singh | August 2009 | Oracle

In this article by Tarry Singh, we will explore how to manage users and groups in Oracle VM Manager 2.1.2. We will start off by dividing the section into two parts namely, managing users and managing groups. In user management, we will learn how to create a user, view or edit a user, change a user's role and delete a user. In group management, we will learn to create a group, add users to a group, edit a group and finally delete a group.

Read User and Group Management: Oracle VM Manager 2.1.2 in full

Building a News Aggregating Site Using Drupal 6

by Rahul Pitre | August 2009 | Drupal

The example project in this article by Timi Ogunjobi is based on a fictitious web site development brief, and it illustrates a practical way of applying Drupal to develop a News Aggregation site called Weird Hap'nins. Bad news is always good news for the press. This is why Vaughan Pyre has decided to take advantage of this fact and create a web site that will aggregate bad news and weird happenings from all over the world. The content of the site will be entirely derived from Really Simple Syndication (RSS) feeds from several sources (each feed being automatically fetched and its items displayed on the web site).

Read Building a News Aggregating Site Using Drupal 6 in full
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software