Mac Widgets for Windows

42 views
Skip to first unread message

Mohamed Mansour

unread,
Aug 6, 2009, 3:46:26 PM8/6/09
to Mac Widgets for Java
Hi all, I am experimenting with macwidgets for a small project on
windows and I am running the demos that is made available through us
(I checked out a copy of mac widgets through svn)

I am wondering why does it look like this:
http://i25.tinypic.com/300td7c.png

Is that a limitation using some components from macwidgets for
windows? According the project description: "Their usage is not
restricted to Mac though, as they will render across platforms."

Thanks!

Ken Orr

unread,
Aug 6, 2009, 7:05:37 PM8/6/09
to mac-widget...@googlegroups.com
Hi Mohamed,

Most of the components in Mac Widgets for Java do in fact render pretty much the same (font and anti-aliasing differences) across platforms.

I don't have an implementation of segmented buttons yet, which I think is what you're referring to in your screen shots. It would probably look a little better if you used the Windows look and feel.

-Ken

Mohamed Mansour

unread,
Aug 6, 2009, 11:32:37 PM8/6/09
to Mac Widgets for Java
Hi Ken,

Ah, I was just mentioning from that screenshot regarding the rounded
search JTextField with a search icon inside it similar to your
screenshot: http://exploding-pixels.com/google_code/promo/UnifiedToolBar-promo.png
As well for the "View" buttons, they are not stuck together, rounded,
and themed with the mac colour gradients.

I guess it would be nice to create ComponentUI's for normal widgets?
You should put screenshots on how mac widgets would look like on other
platforms :)

For me to create the same feeling of the search in windows, I guess I
have to custom render it, correct?

Thanks for the awesome ui toolkit :) I have been browsing the code for
it, and I see very clean and elegant design!


On Aug 6, 7:05 pm, Ken Orr <kenneth....@gmail.com> wrote:
> Hi Mohamed,
> Most of the components in Mac Widgets for Java do in fact render pretty much
> the same (font and anti-aliasing differences) across platforms.
>
> I don't have an implementation of segmented buttons yet, which I think is
> what you're referring to in your screen shots. It would probably look a
> little better if you used the Windows look and feel.
>
> -Ken
>

Ken Orr

unread,
Aug 7, 2009, 6:55:26 AM8/7/09
to mac-widget...@googlegroups.com
Hi Mohamed,

On the Mac, Apple takes care of rendering the search field for us (same thing with the buttons). So on Windows, you'll have to create a custom UI delegate or custom component to get the same visuals.

-Ken
Reply all
Reply to author
Forward
0 new messages