EclipseCon 2007 March 5-8, Santa Clara California





Atom feed

Styling SWT Widgets Using Cascading Style Sheets (CSS)

Matthew Hatem (IBM)

Rich Client Platform · Short Talk
Presentation File
Wednesday, 16:50, 10 minutes | Ballroom GHAB

7
·
8
·
9
·
10
·
11
·
12
·
13
·
14
·
15
·
16
·
17
·
18
·
19

SWT is an ideal toolkit for building Java applications that have a native look and feel. There are cases where the native look and feel is not sufficient. For example some applications require branding or a customized color scheme. This can be achieved by modifying the colors, fonts and background images for each widget using the APIs that SWT provides. It is best to drive the look and feel of your application with centralized style markup, allowing you to modify the look and feel and branding of your application without modifying Java source code. CSS provides a ideal way to drive the look and feel and branding of applications. In this presentation I will demonstrate how to use a free open source CSS parser to parse CSS and apply the style properties to any SWT widget. I will also cover some advanced topics such as styling custom widgets and widgets that employ owner-draw rendering.

Matthew Hatem is a Software Engineer for IBM. He is a member of the Lotus Expeditor and Lotus Notes teams. Matthew Hatem is also an Eclipse Committer focusing in the area of Platform UI RCP.

Floor Plan
(go to eclipsezilla submission)

Gold sponsors

BEA logo

Business Objects logo

Red Hat logo

Ingres logo

Windriver logo

Actuate logo

Klocwork logo

IBM logo

Silver sponsors

Genuitec

Compuware logo

Google logo

Sybase logo

Instantiations

Code Gear

Innoopract logo

Lynux Works

Nexaweb

Activegrid

ACCESS

Oracle

Cloudsmith

Telelogic

Media sponsors

Methods and Tools logo

ACM Queue logo

Eclipse Magazin logo

Embedded Computing logo

Eclipsezone logo

Eclipse Source logo

Eclipse Developers Journal logo

Software Test & Performance logo

TheServerSide Java Symposium

Enterprise Open Source logo

Eclipse Review logo

SD Times logo

Addison-Wesley logo

GoingtoMeet.com logo

Eclipse Magazine logo