• Post Reply Bookmark Topic Watch Topic
  • New Topic

JInternalframe decoration ?  RSS feed

 
Saber bellefi
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to remove JInternalframe decoration ? make it look like a flooting panel ?
 
Pierre Sugar
Ranch Hand
Posts: 62
Java Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As JInternalFrame doesn't inherit from Window, which has the setUndecorated(boolean) method, I asume that it is not possible to undecorate internal frames.
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saber bellefi wrote:how to remove JInternalframe decoration ? make it look like a flooting panel ?

Or just use a JPanel with an appropriate border. Remember that JDesktopPane has a null layout, so you will need to compute and specify appropriate bounds for the panel.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!