christmo / macwidgets

Automatically exported from code.google.com/p/macwidgets
0 stars 0 forks source link

Use SourceListContextMenuProvider with awt PopupMenu? #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently I'm facing a problem with JPopupMenu. It just sucks under mac -
no blurry background, no rounded borders, and the menu doesn't hide when i
click on the main menu bar (this actually sucks most) If I use the plain
old awt-menu, it looks right.

BUT - awt sucks on win/linux.

So I thought about writing an abstraction layer, which choses the best
components on runtime.

The Problem: SourceListContextMenuProvider just accepts JPopupMenu.
Is there a way to attach a PopupMenu?

The two screenshots show the difference, the latter one is awt.

Original issue reported on code.google.com by studp...@gmail.com on 30 Dec 2008 at 4:24

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Started the thread below to discuss this issue:

http://groups.google.com/group/mac-widgets-for-java/browse_thread/thread/8987fe6
8ea753fc7

Original comment by kenneth....@gmail.com on 30 Dec 2008 at 6:37

GoogleCodeExporter commented 8 years ago

Original comment by kenneth....@gmail.com on 30 Dec 2008 at 6:37

GoogleCodeExporter commented 8 years ago
This won't be necessary with Update 5 of Java on Mac OS X, as JPopupMenus have 
been fixed to render correctly.

Original comment by kenneth....@gmail.com on 2 Dec 2009 at 9:06