Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!

Bug 164578

Summary: No possibility to suppress [x] on CloseButtonTabbedPane
Product: platform Reporter: Jan Becicka <jbecicka>
Component: Window SystemAssignee: Jan Becicka <jbecicka>
Status: RESOLVED FIXED QA Contact: issues <issues.netbeans.org>
Priority: P3 CC: saubrecht
Version: 6.xKeywords: API, API_REVIEW_FAST
Target Milestone: 6.x   
Hardware: All   
OS: All   
Whiteboard:
Issue Type: ENHANCEMENT Exception Report:
Attachments: Suggested patch

Description Jan Becicka 2009-05-06 12:32:53 UTC
There is no possibility to suppress [x] on CloseButtonTabbedPane
Comment 1 Jan Becicka 2009-05-06 12:44:57 UTC
Created attachment 81637 [details]
Suggested patch
Comment 2 Jan Becicka 2009-05-06 12:46:25 UTC
Please review my changes.
Comment 3 Stanislav Aubrecht 2009-05-11 08:27:04 UTC
would be nice to also turn off tab title padding when the close button is suppressed (see add(Component) and
setTitleAt(int,String)
otherwise it looks ok to me
Comment 4 Jan Becicka 2009-05-11 12:51:16 UTC
Thanks
Comment 5 Jan Becicka 2009-05-11 12:51:31 UTC
http://hg.netbeans.org/cdev/rev/d8c30a7fb974
Comment 6 Quality Engineering 2009-05-12 07:43:48 UTC
Integrated into 'main-golden', will be available in build *200905120201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d8c30a7fb974
User: Jan Becicka <jbecicka@netbeans.org>
Log: #164578: Added option to hide close button
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo