Archive for the ‘Java’ Category

Advanced SWT graphics

Saturday, July 19th, 2008

In parallel with my portable Cairo GC project, I have been working on a library to simplify the creation of better looking SWT application. In particular, I got interested in building a customizable widget that would adopt different looks on different platforms and in different parts of an application. This ...

Portable Cairo GC for SWT

Saturday, July 19th, 2008

For several years I have been impressed with the work Romain Guy did to popularize some of the advanced graphic capabilities of Swing. It was his post on transparent windows on Mac OS that pointed me in the direction of the JNA API which I ended up using to prototype ...

Supporting sheets in SWT on Mac OS

Sunday, July 13th, 2008

There are a number of ui widgets that make Mac OS distinct from all other platforms. One of them is the presence of sheets. Sheets are basically document modal dialog windows. As such, they are attached to the document window that prompted their appearance, thereby simplifying the task of keeping ...

Better looking SWT apps on Mac OS

Saturday, July 12th, 2008

Since I started my own work to improve the look of Java SWT apps on Mac OS, I found two other similar on-going efforts. The first one is aimed at Swing, and creates a unified toolbar lookalike to embed in standard JFrame instances. The code is pretty simple and clever, and ...

Making SWT look more native on Mac OS

Friday, July 11th, 2008

Back in april, someone asked me if I had some thoughts about how to make an SWT app look and feel more like a real Mac OS application. Having only a couple days to think about it and the excellent Coda as a visual reference, I decided to create a ...

Cocoa SWT

Wednesday, July 9th, 2008

As I made the switch to a Mac, it quickly became a apparent that there was going to be trouble in my new paradise when word started to leak out that Apple was going to retire Carbon as part of its move to 64bits. So back last summer I started playing ...

Mac OS Java

Wednesday, July 9th, 2008

Apple and Java are an interesting story… A few weeks ago I got in touch with some of the people from the Apple Java Runtime team. There are all very talented and very nice people.. The only problem? there is only a handful of them… Considering the scale of their task, ...