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 30207 - No splitters (borders) painted in SplittedPane?
Summary: No splitters (borders) painted in SplittedPane?
Status: VERIFIED FIXED
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: 2003-01-17 14:41 UTC by Tomas Pavek
Modified: 2008-12-22 23:37 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 Tomas Pavek 2003-01-17 14:41:52 UTC
Is it really correct that there's no splitter
painted for SplittedPane? E.g. in
ComponentInspector or in Debugger Window, there
are views that can be resized by mouse, but as no
splitter is visible, it looks like no resizing is
possible. 

I guess this was done as part of reducing border
overuse in NetBeans (that's quite positive), but
in this case ...
[since org/openide/awt/SplittedPanel.java rev 1.27 ?]
Comment 1 _ tboudreau 2003-01-17 18:47:03 UTC
Correct, it was to reduce borders - if you have a component that
has a border, the splitter should not be drawn.  I can imagine that
causing a problem for components that do not draw any borders.

I'm most of the way through fixing this, including adding the drag
texture to the component if the L&F is metal.  It will be sensitive
to whether either of the contained components draws a border, and
if so it will not draw its border.
Comment 2 _ tboudreau 2003-02-24 11:21:38 UTC
This has been fixed for a few weeks now, but I forgot to mark it as
such.

Note the drag texture can also now be drawn if you turn on 
"nb.SplittedPanel.drawBumps" in the theme (it will only do it
for Metal look and feel - for other look and feels it will
simply draw a raised border).

Long term, SplittedPanel should be deprecated - it doesn't do anything
exciting that a JSplitPane can't do.
Comment 3 Marian Mirilovic 2003-02-24 13:24:05 UTC
Tim is right, it was already fixed. 

Verified in [nb_dev](20030224)