Titled Panel

This forum is used by users to request and discuss new product features. Please do not use this forum for technical support including bug reports.

Moderator: JIDE Support

Forum rules
Product suggestions only. Please do not use this forum for technical support including bug reports.

Titled Panel

Postby mdesai12 » Thu May 03, 2007 2:40 pm

SwingX has TitledPanel: JPanel with a built-in title bar. I believe the panel corners can be rounded. Is there something similar in JIDE? Thanks!
mdesai12
 
Posts: 2
Joined: Fri Apr 06, 2007 9:24 pm

Postby JIDE Support » Thu May 03, 2007 2:54 pm

We didn't feel TitledPanel is generic enough to be a component. In certain case, you can use CollapsiblePane to do it and you can optionally disable the collapse feature if you want. In other cases, you can use BannerPanel on the north with content in the center to make such a UI.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Postby mdesai12 » Thu May 03, 2007 9:11 pm

That's what I thought. How can I make any of the corners rounded in a BannerPanel? Thanks.
mdesai12
 
Posts: 2
Joined: Fri Apr 06, 2007 9:24 pm

Postby JIDE Support » Fri May 04, 2007 12:46 pm

Not there by default but you can override paintComponent method of BannerPanel to do it.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am


Return to Product Suggestions

Who is online

Users browsing this forum: No registered users and 15 guests

cron