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 61976 - MultiviewTopComponent does not work as a plain component
Summary: MultiviewTopComponent does not work as a plain component
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-09 13:20 UTC by Marian Petras
Modified: 2009-11-02 10:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
testcase module showing that it's possible to add multiview into custom components. (11.40 KB, application/x-compressed)
2005-10-06 08:41 UTC, Milos Kleint
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2005-08-09 13:20:26 UTC
MultiviewTopComponent cannot be used in place of a common JComponent - it works
only as a replacement of a TopComponent. When placed inside a container,
MultiviewTopComponent's preferred size dimensions are strange which makes the
component unusable.

To reproduce, add a MultiviewTopComponent inside a JPanel and display it.
Comment 1 Milos Kleint 2005-10-06 08:39:57 UTC
well, it works corretly within borderlayout or gridbaglayout. flowlayout seems
to have problems. so it's definitely not unusable. downgrading to p4.
see attached module project for testcase.
Comment 2 Milos Kleint 2005-10-06 08:41:12 UTC
Created attachment 25586 [details]
testcase module showing that it's possible to add multiview into custom components.
Comment 3 Milos Kleint 2008-11-19 12:33:03 UTC
unlikely to be worked on in 7.0 or the next version.
Comment 4 Quality Engineering 2009-11-02 10:55:20 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX