File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 19651
    
  18

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: 4523
    
    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: 19651
    
  18

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://aspose.com/file-tools
 
subject: custom look and feel for a popup
 
Similar Threads
JComboBox with horizontall scroll bar
Simple popup display
style for popups in the portlet
howto increase row height in JList look and feel
Popup in jsp is not working becouse of Iframe