aspose file tools
The moose likes Swing / AWT / SWT and the fly likes How to create JFrame with Rounded Rectangle border Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "How to create JFrame with Rounded Rectangle border" Watch "How to create JFrame with Rounded Rectangle border" New topic
Author

How to create JFrame with Rounded Rectangle border

ramesh jeripothula
Greenhorn

Joined: Jun 25, 2003
Posts: 1
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

Joined: Oct 18, 2000
Posts: 4121

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.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create JFrame with Rounded Rectangle border
 
Similar Threads
Rounded rectangle window
Info dialog in lwuit
Custom Buttons
win style resize rectangle when using metal plaf
Does anyone know how to create a rounded rectangle using fo?