• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create JFrame with Rounded Rectangle border

 
ramesh jeripothula
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can anyone tell me how to change the border of JFrame from rectangle to rounded rectangle. And also I have a question reg. titlebar imageicon. The default size is 16 x 16 pixels. Can we change the sixe of image icon.
Thanks,
Ramesh
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use the SkinLF package. They support non-rectangular frames... though I think in Windows only. If you are using Swing/AWT you are stuck with 16x16 icons... if you use bigger icons the frame scales it down. Not sure if other packages (like SkinLF) let you do anything about the icon size.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!