How to create JFrame with Rounded Rectangle border
posted 13 years ago
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
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.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.