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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
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: 19723
    
  20

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 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4642
    
    5

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: 19723
    
  20

Which is not a problem, but you should mention it. Be Forthright When Cross Posting To Other Sites.
 
 
subject: custom look and feel for a popup