Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[nebula-dev] Re: [New Widget] AeroToolbar

Hi guys,

Any input? Does it work on your machines?

Regards,
Lukasz Milewski

2010/2/1 Łukasz Milewski <lukasz.milewski@xxxxxxxxx>
Hi All,

After weeks of no-time I've finally found few hours I can devote to AeroToolbar, and here it is. 

This is first version and would like to hear comments what needs to be changed to be approved by IP committee.
Methods addItem and removeItem (those that operates on arrays) are probably taken (or heavy based) from Nebula Gallery. Dependency on JNA can be removed when DrawShadowText will be available in OS class (if at all).

I've also attached AeroToolbarTest class that shows very simple application with AeroToolbar widget. Dynamic switch between Vista/7 styles works correctly. Some issues are with disposing shell from toolbar item. ToolbarItem doesn't contain addSelectionListener instead setSelectionListener this is quick hack to remove dependency from my own Action interfaces.

I probably need to specify license and add appropriate headers, please consult on this.

Source codes can also be found on http://www.khrone.pl/AeroToolbar.zip (those attached to bug entry doesn't contain meta-data and jna)

Regards,
Lukasz Milewski


Back to the top