This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 24033 - Border inside single and multi-tab source editor should have the same look
Summary: Border inside single and multi-tab source editor should have the same look
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2002-05-24 15:01 UTC by Gabriel Tichy
Modified: 2008-12-22 21:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Tichy 2002-05-24 15:01:58 UTC
Border is two (white) pixels wide in the left and
on the top when more than one source is opened.
But it should be also one pixel wide.
Comment 1 Peter Zavadsky 2002-05-27 15:44:12 UTC
Fixed in [trunk]

Fix:
core/../windows/frames/CloseButtonTabbedPane.java [1.5]
Comment 2 Marian Mirilovic 2002-05-30 10:19:39 UTC
verified in [nb_dev](20020530)
Comment 3 _ tboudreau 2002-09-09 21:20:27 UTC
I'm working on fixing some of the border buildup in NetBeans.  The fix
for this (always returning Insets (0,0,0,0) from CloseButtonTabbedPane
breaks on any UI that wants to use a 2 pixel border (e.g.
EtchedBorder).
Comment 4 Marian Mirilovic 2002-12-06 17:57:09 UTC
reassigne to Marek, new owner of ui subcomponents
Comment 5 mslama 2002-12-09 14:45:35 UTC
So Tim please tell me correct solution. I am confused: Gabriel says it
 should have 1 pixel border, you say it should keep original border of
JTabbedPane. Disscuss with Gabriel otherwise I will close this issue.
Comment 6 _ tboudreau 2002-12-10 01:44:24 UTC
Probably it is a discussion for nbui.  Best solution is probably
to get the border constraints from the L&F.  Then L&F providers can
decide how it should look.  If you find there are no appropriate
values to get it from in UIDefaults, create your own, document it 
as a constant on core...NbTheme.java, test for null and provide a
reasonable default for non-Metal-based L&F's.
Comment 7 Marian Mirilovic 2003-01-17 14:59:38 UTC
Tim has changed borders in [nb_dev](20030117)
Comment 8 Marian Mirilovic 2003-02-19 10:33:02 UTC
Source Editor is still displayed as tabbed pane [nb_dev](20030219).
Comment 9 Marian Mirilovic 2003-07-25 18:41:23 UTC
Tim is right - closing.