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

Summary: MultiviewTopComponent does not work as a plain component
Product: platform Reporter: Marian Petras <mpetras>
Component: Window SystemAssignee: Milos Kleint <mkleint>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: testcase module showing that it's possible to add multiview into custom components.

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