• Post Reply Bookmark Topic Watch Topic
  • New Topic

Changing the Border of a Frame/JFrame

 
Brian Drake
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anybody had any experience with modifying the L&F of the border of a Frame or JFrame? The kind of thing I am talking about is similar to what WinAmp does. I'd like to create an app that has docking windows with very small frames.
Thanks in advance. Code examples would be wonderful!
 
David Freels
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked at the Window class?
David
 
Matt Robinson
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is something you cannot do up through JDK1.3 unless you extend the Window class and build your own frame/dialog type of component. In JDK1.4 the Swing team plans to add such functionality..
------------------
Matthew Robinson co-author of "Swing" (1999, Manning Publications). Freely available at http://www.spindoczine.com/sbe
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!