• Post Reply Bookmark Topic Watch Topic
  • New Topic

getting rid of edges on round component  RSS feed

 
Chris Dancy
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So i posted earlier about making a custom jframe and found that was a bad idea. So What I've decided was to then add a jpanel to the frame and make that round which is not a problem. However the edges of the JFrame still pop out of the corners. Is their anyway way to get rid of that?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
google iFrame
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java 6 update 10 introduced shaped windows, so if you can require at least that version you should be set.

I guess Michael is talking about this - interesting stuff, I'll have to check it out.
 
Darryl Burke
Bartender
Posts: 5167
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=5353302
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!