The Artima Developer Community
Sponsored Link

Java Buzz Forum
Translucent Menus

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Scott Delap

Posts: 1154
Nickname: scottdelap
Registered: Sep, 2004

Client / Server application developer.
Translucent Menus Posted: May 31, 2005 7:51 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Scott Delap.
Original Post: Translucent Menus
Feed Title: ClientJava.com
Feed URL: http://www.clientjava.com/archives/wireless_mobile.rdf
Feed Description: Client/Desktop Related Java Development
Latest Java Buzz Posts
Latest Java Buzz Posts by Scott Delap
Latest Posts From ClientJava.com

Advertisement

Translucent Menus
J2SE up to version 1.5 doesn't allow you to easily create translucent menus as in the screenshot below. At first you might think that calling menu.getPopupMenu().setOpaque(false) would be enough. Wrong. When you click onto a menu, the popup does not appear directly on screen. It is first put in a container. This container is a JPanel for lightweight popup menus for instance. Therefore, you need to get the parent of the menu's popup and set its opaque property to false...

Read: Translucent Menus

Topic: Blog Aggregation Gaining Momentum Previous Topic   Next Topic Topic: [May 23, 2005 10:02 PDT] 8 Links

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use