aspose file tools
The moose likes Swing / AWT / SWT and the fly likes custom look and feel for a popup    Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "custom look and feel for a popup    " Watch "custom look and feel for a popup    " New topic
Author

custom look and feel for a popup

chihab bahhadi
Greenhorn

Joined: Dec 22, 2008
Posts: 1
Hi everyone,

My application is using look and feel A, I want a popup to have a different laf B.
I can't switch between the two look and feels since it's a popup, I tried UIManager.put("MyPopup", "com.sun.java.swing.plaf.windows.WindowsLookAndFeel") with no luck

Any suggestion?

Thanks a lot
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

Popup as in javax.swing.Popup?
If so, that isn't a component of its own - it uses the component provided by PopupFactory and a JWindow to show itself.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4163
    
    3

Just another cross poster.
http://forums.sun.com/thread.jspa?threadID=5356711


luck, db
There are no new questions, but there may be new answers.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

Which is not a problem, but you should mention it. Be Forthright When Cross Posting To Other Sites.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: custom look and feel for a popup
 
Similar Threads
howto increase row height in JList look and feel
style for popups in the portlet
Simple popup display
JComboBox with horizontall scroll bar
Popup in jsp is not working becouse of Iframe