EclipseCon 2007 March 5-8, Santa Clara California

Styling SWT Widgets Using Cascading Style Sheets (CSS)

Matthew Hatem (IBM)

· Poster

This talk has been accepted but has not yet been assigned a time slot.

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. My poster will document and 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.

Gold sponsors

Ingres logo

BEA logo

IBM logo

Business Objects logo

Klocwork logo

Windriver logo

Red Hat logo

Actuate logo

Silver sponsors

Compuware logo

Sybase logo

Google logo






Code Gear




Innoopract logo

Lynux Works

Media sponsors

Eclipse Magazine logo logo

Methods and Tools logo

Eclipsezone logo

Addison-Wesley logo

Eclipse Magazin logo

Embedded Computing logo

SD Times logo

Enterprise Open Source logo

ACM Queue logo

TheServerSide Java Symposium

Eclipse Review logo

Software Test & Performance logo

Eclipse Developers Journal logo

Eclipse Source logo