• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

custom look and feel for a popup

 
chihab bahhadi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20659
64
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Darryl Burke
Bartender
Posts: 5148
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just another cross poster.
http://forums.sun.com/thread.jspa?threadID=5356711
 
Rob Spoor
Sheriff
Pie
Posts: 20659
64
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which is not a problem, but you should mention it. Be Forthright When Cross Posting To Other Sites.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic