• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to change JInternalFrame's Title Bar height ?  RSS feed

 
Bartek Myszkowski
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'd like to create higher titlebar for JInternalFrame but I don't know how?

These are 2 options I have tried:

both don't work.

Any idea how to set this height?



Code to try out:
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

//c.setSize(c.getWidth(), 50);
c.setPreferredSize(new Dimension(c.getPreferredSize().width, 50));
 
Bartek Myszkowski
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You Michael!
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!