blob: 53bee420862164049fe747c3f66f9c5b70ed316b [file] [log] [blame]
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
//
= BrandingUpdaterSplash
:jbake-type: wiki
:jbake-tags: wiki, devfaq, needsreview
:jbake-status: published
:keywords: Apache NetBeans wiki BrandingUpdaterSplash
:description: Apache NetBeans wiki BrandingUpdaterSplash
:toc: left
:toc-title:
:syntax: true
== Branding Updater Splash
Contributed By; link:TonnyKohar.asciidoc[Tonny Kohar]
Adapted from: link:http://blogs.kiyut.com/tonny/2007/11/19/netbeans-platform-branding-updaterjar/[http://blogs.kiyut.com/tonny/2007/11/19/netbeans-platform-branding-updaterjar/]
<hr/>
Another series of Netbeans Platform branding, but this time is branding the updater.jar. Updater.jar is used by Netbeans Platform during modules updates and update tracking and work in conjunction with Auto Update Services.
After the branding of link:http://blogs.kiyut.com/tonny/2007/10/18/customize-netbeans-platform-splash-screen-and-about-dialog/[Splash Screen and About Dialog], you can also branding the updater splash image. This image will be shown by Netbeans Platform during module update and require a restart.
image:branding-updater-custom_BrandingUpdaterSplash.png[]
*note:* this is tested on Netbeans 6 RC1
=== Customize the Updater Splash Screen
In the project suite (under File, not project) expand the branding folder as show in the image.
If the folder branding/modules/ext/updater.jar does not exist, just create it, it is just a normal folder structure.
Note: updater.jar is not a jar file, it is a folder name
image:branding-updater-folder_BrandingUpdaterSplash.png[]
Add the following in the Bundle.properties
[source,java]
----
UpdaterFrame.TextBackground_R=0
UpdaterFrame.TextBackground_G=0
UpdaterFrame.TextBackground_B=0
UpdaterFrame.TextForeground_R=255
UpdaterFrame.TextForeground_G=255
UpdaterFrame.TextForeground_B=255
UpdaterFrame.Background_R=0
UpdaterFrame.Background_G=0
UpdaterFrame.Background_B=0
UpdaterFrame.outerColor_R=28
UpdaterFrame.outerColor_G=43
UpdaterFrame.outerColor_B=29
UpdaterFrame.centerColor_R=85
UpdaterFrame.centerColor_G=73
UpdaterFrame.centerColor_B=16
UpdaterFrame.isGradient=false
----
The above bundles properties values are example only, you may need to change it to reflects your own branding color scheme.
Then create any image file that you like to be a replacement for the default splash. In Netbeans 6 RC1, there is no size limit or constraints for the updater splash image, although I use the size of 400×191. However, it must be named *updatersplash.gif*
=== Apache Migration Information
The content in this page was kindly donated by Oracle Corp. to the
Apache Software Foundation.
This page was exported from link:http://wiki.netbeans.org/BrandingUpdaterSplash[http://wiki.netbeans.org/BrandingUpdaterSplash] ,
that was last modified by NetBeans user Mithun gonsalvez
on 2011-08-19T06:41:46Z.
*NOTE:* This document was automatically converted to the AsciiDoc format on 2018-02-07, and needs to be reviewed.