This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Internal Frame quirk

 
Paul Keohan
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm enclosing some code I use to add a JInternalFrame containing components to a Frame. It looks okay but it looks like there is a frame underneath the JIF with the corners being sligtly covered. Picture a cardbard frame where the inner four corners are curved. Now place a perfect rectangle piece of paper over the frame. The piece of paper should be a nice fit but it will cover the curved corners.
This is what this frame is giving me.
Thanks for any help.
Paul
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where's the code?
 
Paul Keohan
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oooops!
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, that is not enough code. How about the whole thing? Or at least where you create the JFrame, JDesktopPane, and add the JInternalFrame to the DesktopPane.
 
Paul Keohan
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm afraid I've switched now to JPanels and all my JInternalFrame code is gone. Next time I'll know to send more.

Thanks!
----------------------
D d y v r f nd t wh t h pp n d t y r v w ls?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic