Skip to main content

A JXMenuBar ?

4 replies [Last post]
oasuncion
Offline
Joined: 2008-04-24

Hi all,

I discovered some weeks ago the swinglabs project and I must say I was very impressed by such a project ! I was pleased to see a project permitting to make really nice looking swing apps.

I would like to participate to this project and I'm deeply studying the swingx's components sources in order to well understant how it works.

I though about a component which may have a place in the project, a "JXMenuBar" component that would permit to easily manage three things :

- translucency of the submenus
- painting of the bar (using Painters)
- possibility to add a JXHeader to the bar (added just above the bar)

I though about these three things because it seems to me that they are three functionalities that many developers may be interested in (but maybe I'm wrong or I am forgetting other things) ?

What do you think about it ? Is it for you a good idea to implement a component like that or is it unnecessary ? Thanks a lot for your feedbacks.

Regards,

Olivier

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kschaefe
Offline
Joined: 2006-06-08

Jan (rah003) has a JXMenuBar in his incubator area. It would be a good place to see what's been tried.

Karl

oasuncion
Offline
Joined: 2008-04-24

Hi,

Thanks, I'll have a look to the sources.

Olivier

oasuncion
Offline
Joined: 2008-04-24

Hi,

I saw the JXMenuBar provided by Jan. The integration of the BusyLabel to the bar is interesting.
I'll contact him to see what he thinks about the functionalities I propose for the JXMenuBar class.

Regards,

Olivier

oasuncion
Offline
Joined: 2008-04-24

Hi all,

I developed a version of a JXMenuBar class permitting to :

- select the background color and the translucency of the bar's submenus
- select the foreground color and the foreground color during selection of the submenus's items
- paint the bar with a Painter
- integrate a BusyLabel (from Jan's JXMenuBar class).

The source code is in the incubator with a demonstration, in the folder oasuncion.

What do you think about this component ?
It would be nice to have your feedbacks.

(For people interested in, I can directly send to them the demo's jar. Just contact me)

Thanks and regards,

Olivier