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 31048 - provide branding support for ContentPanel
Summary: provide branding support for ContentPanel
Status: CLOSED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Welcome (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: Richard Gregor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-14 02:24 UTC by Jeri Lockhart
Modified: 2003-07-16 20:52 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeri Lockhart 2003-02-14 02:24:11 UTC
S1S Nevada version requires a customized, non-html
rendered welcome screen.

Please provide branding support for the ContentPanel.

The following is a recommended solution from Jesse
Glick:

JComponent panel =
(JComponent)Class.forName(NbBundle.getMessage(WelcomeComponent.class,
"CLASS_content_panel")).newInstance();

where
modules/welcome.jar!/org/netbeans/modules/welcome/Bundle.properties
 lists

CLASS_content_panel=org.netbeans.modules.welcome.ContentPanel

and
modules/locale/welcome_f4j.jar!/org/netbeans/modules/welcome/Bundle_f4j.properties
would list e.g.:

CLASS_content_panel=org.netbeans.modules.welcome.S1SContentPanel
Comment 1 Richard Gregor 2003-02-14 12:38:42 UTC
Fixed. There is new entry in Bundle "CLASS_content_panel". I assume
that Bundle_f4j will be in closed source.

Checking in src/org/netbeans/modules/welcome/Bundle.properties;
/cvs/ui/welcome/src/org/netbeans/modules/welcome/Bundle.properties,v 
<--  Bundle.properties
new revision: 1.20; previous revision: 1.19
done
Checking in src/org/netbeans/modules/welcome/WelcomeComponent.java;
/cvs/ui/welcome/src/org/netbeans/modules/welcome/WelcomeComponent.java,v
 <--  WelcomeComponent.java
new revision: 1.14; previous revision: 1.13
Comment 2 Jeri Lockhart 2003-02-14 16:45:28 UTC
Thank you, Richard, for your quick response.  Your assumption is
correct, there will be a closed source cvs module f4j_all/ui/welcome
which will contain Bundle_f4j.properties, the S1SContentPanel classes
and resources folder.