• Post Reply Bookmark Topic Watch Topic
  • New Topic

round edged rectangle

 
dolly kalluri
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai friends
At present I want to change the java swing frame ie JFrame corners to be round edged.I tried with paint() method but it is not coming
can anybody help me please
 
Aaron Roberts
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can paint a round edged rectangle in a paint method by using -

gContext.paintRoundRect(...)

This will give you rounded corners.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!