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.
Summary: | Ability to declare a top component not to have a window title/handle | ||
---|---|---|---|
Product: | platform | Reporter: | _ wadechandler <wadechandler> |
Component: | Window System | Assignee: | issues@platform <issues> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
_ wadechandler
2009-07-22 18:33:46 UTC
To create a banner with a titled window one can: 1) Expand Important Files/XML Layer/<this layer in context>/Windows2/Modes 2) Right click on Modes, roll over New, and click Empty File. 3) Name it banner.wsmode Double click on banner.wsmode to open and edit and add: <?xml version="1.0" encoding="UTF-8"?> <mode version="2.3"> <name unique="banner" /> <kind type="view" /> <state type="joined" /> <constraints> <path orientation="vertical" number="0" weight="0.25"/> </constraints> <bounds x="0" y="0" width="0" height="0" /> <frame state="0"/> <active-tc id="BannerTopComponent" /> <empty-behavior permanent="false"/> </mode> Create a new TopComponent/Window and then select the banner mode. Be sure and select it to open on application start, sliding not allowed, closing not allowed, undocking not allowed, dragging not allowed, and maximization not allowed. Next, set the preferred size of the TC to what ever you think it should be. Then, you'll have to come up with some kind of an API or the like for it depending on how you want the banner to behave. |