blob: b62de4e67a23924dbf3581ce957c2741c86900e4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2002, 2006. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<LINK REL="STYLESHEET" HREF="../../book.css" TYPE="text/css">
<title>InitializeImageRegistry Method</title>
</head>
<body>
<h1>InitializeImageRegistry Method</h1>
<pre><samp>
/**
* <i>Initialize the image registry by declaring all of the required graphics.</i>
*/
protected void initializeImageRegistry()
{
String path = getIconPath();
putImageInRegistry("ICON_ID_TEAM", path + "team.gif");
putImageInRegistry("ICON_ID_DEVELOPER", path + "developer.gif");
<b>putImageInRegistry("ICON_ID_TEAMFILTER", path + "teamFilter.gif");</b>
<b>putImageInRegistry("ICON_ID_DEVELOPERFILTER", path + "developerFilter.gif");</b>
}
</samp></pre>
</body>
</html>
|