Source Code Cross Referenced for PolicyPanel.java in  » Collaboration » JacORB » org » jacorb » poa » gui » poa » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Collaboration » JacORB » org.jacorb.poa.gui.poa 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.jacorb.poa.gui.poa;
002:
003:        /*
004:         *        JacORB - a free Java ORB
005:         *
006:         *   Copyright (C) 1997-2004 Gerald Brose.
007:         *
008:         *   This library is free software; you can redistribute it and/or
009:         *   modify it under the terms of the GNU Library General Public
010:         *   License as published by the Free Software Foundation; either
011:         *   version 2 of the License, or (at your option) any later version.
012:         *
013:         *   This library is distributed in the hope that it will be useful,
014:         *   but WITHOUT ANY WARRANTY; without even the implied warranty of
015:         *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
016:         *   Library General Public License for more details.
017:         *
018:         *   You should have received a copy of the GNU Library General Public
019:         *   License along with this library; if not, write to the Free
020:         *   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
021:         */
022:
023:        import java.awt.Label;
024:
025:        /**
026:         * @author Reimo Tiedemann, FU Berlin
027:         * @version 1.0, 05/03/99, RT
028:         */
029:        public class PolicyPanel extends java.awt.Panel {
030:            private java.awt.Label ivjIdAssignmentNameLabel = null;
031:            private java.awt.Label ivjIdAssignmentValueLabel = null;
032:            private java.awt.Label ivjIdUniquenessNameLabel = null;
033:            private java.awt.Label ivjIdUniquenessValueLabel = null;
034:            private java.awt.Label ivjImplicitActivationNameLabel = null;
035:            private java.awt.Label ivjImplicitActivationValueLabel = null;
036:            private java.awt.Label ivjLifespanNameLabel = null;
037:            private java.awt.Label ivjLifespanValueLabel = null;
038:            private java.awt.Label ivjRequestProcessingNameLabel = null;
039:            private java.awt.Label ivjRequestProcessingValueLabel = null;
040:            private java.awt.Label ivjServantRetentionNameLabel = null;
041:            private java.awt.Label ivjServantRetentionValueLabel = null;
042:            private java.awt.Panel ivjTablePanel = null;
043:            private java.awt.Label ivjThreadNameLabel = null;
044:            private java.awt.Label ivjThreadValueLabel = null;
045:            private java.awt.Label ivjTitleLabel = null;
046:
047:            Label _getIdAssignmentLabel() {
048:                return getIdAssignmentValueLabel();
049:            }
050:
051:            /**
052:             * Return the IdAssignmentNameLabel property value.
053:             * @return java.awt.Label
054:             */
055:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
056:            private java.awt.Label getIdAssignmentNameLabel() {
057:                if (ivjIdAssignmentNameLabel == null) {
058:                    try {
059:                        ivjIdAssignmentNameLabel = new java.awt.Label();
060:                        ivjIdAssignmentNameLabel
061:                                .setName("IdAssignmentNameLabel");
062:                        ivjIdAssignmentNameLabel
063:                                .setLocation(new java.awt.Point(1, 40));
064:                        ivjIdAssignmentNameLabel.setText(" ID Assignment");
065:                        ivjIdAssignmentNameLabel
066:                                .setBackground(java.awt.SystemColor.control);
067:                        ivjIdAssignmentNameLabel.setFont(new java.awt.Font(
068:                                "dialog", 2, 10));
069:                        ivjIdAssignmentNameLabel
070:                                .setBounds(new java.awt.Rectangle(1, 40, 100,
071:                                        12));
072:                        ivjIdAssignmentNameLabel.setBounds(1, 40, 100, 12);
073:                        // user code begin {1}
074:                        // user code end
075:                    } catch (java.lang.Throwable ivjExc) {
076:                        // user code begin {2}
077:                        // user code end
078:                        handleException(ivjExc);
079:                    }
080:                }
081:                return ivjIdAssignmentNameLabel;
082:            }
083:
084:            /**
085:             * Return the IdAssignmentValueLabel property value.
086:             * @return java.awt.Label
087:             */
088:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
089:            private java.awt.Label getIdAssignmentValueLabel() {
090:                if (ivjIdAssignmentValueLabel == null) {
091:                    try {
092:                        ivjIdAssignmentValueLabel = new java.awt.Label();
093:                        ivjIdAssignmentValueLabel
094:                                .setName("IdAssignmentValueLabel");
095:                        ivjIdAssignmentValueLabel
096:                                .setLocation(new java.awt.Point(102, 40));
097:                        ivjIdAssignmentValueLabel.setText(" SYSTEM_ID");
098:                        ivjIdAssignmentValueLabel
099:                                .setBackground(java.awt.SystemColor.control);
100:                        ivjIdAssignmentValueLabel.setFont(new java.awt.Font(
101:                                "dialog", 0, 10));
102:                        ivjIdAssignmentValueLabel
103:                                .setBounds(new java.awt.Rectangle(102, 40, 179,
104:                                        12));
105:                        ivjIdAssignmentValueLabel.setBounds(102, 40, 179, 12);
106:                        // user code begin {1}
107:                        // user code end
108:                    } catch (java.lang.Throwable ivjExc) {
109:                        // user code begin {2}
110:                        // user code end
111:                        handleException(ivjExc);
112:                    }
113:                }
114:                return ivjIdAssignmentValueLabel;
115:            }
116:
117:            Label _getIdUniquenessLabel() {
118:                return getIdUniquenessValueLabel();
119:            }
120:
121:            /**
122:             * Return the IdUniquenessNameLabel property value.
123:             * @return java.awt.Label
124:             */
125:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
126:            private java.awt.Label getIdUniquenessNameLabel() {
127:                if (ivjIdUniquenessNameLabel == null) {
128:                    try {
129:                        ivjIdUniquenessNameLabel = new java.awt.Label();
130:                        ivjIdUniquenessNameLabel
131:                                .setName("IdUniquenessNameLabel");
132:                        ivjIdUniquenessNameLabel
133:                                .setLocation(new java.awt.Point(1, 27));
134:                        ivjIdUniquenessNameLabel.setText(" ID Uniqueness");
135:                        ivjIdUniquenessNameLabel
136:                                .setBackground(java.awt.SystemColor.control);
137:                        ivjIdUniquenessNameLabel.setFont(new java.awt.Font(
138:                                "dialog", 2, 10));
139:                        ivjIdUniquenessNameLabel
140:                                .setBounds(new java.awt.Rectangle(1, 27, 100,
141:                                        12));
142:                        ivjIdUniquenessNameLabel.setBounds(1, 27, 100, 12);
143:                        // user code begin {1}
144:                        // user code end
145:                    } catch (java.lang.Throwable ivjExc) {
146:                        // user code begin {2}
147:                        // user code end
148:                        handleException(ivjExc);
149:                    }
150:                }
151:                return ivjIdUniquenessNameLabel;
152:            }
153:
154:            /**
155:             * Return the IdUniquenessValueLabel property value.
156:             * @return java.awt.Label
157:             */
158:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
159:            private java.awt.Label getIdUniquenessValueLabel() {
160:                if (ivjIdUniquenessValueLabel == null) {
161:                    try {
162:                        ivjIdUniquenessValueLabel = new java.awt.Label();
163:                        ivjIdUniquenessValueLabel
164:                                .setName("IdUniquenessValueLabel");
165:                        ivjIdUniquenessValueLabel
166:                                .setLocation(new java.awt.Point(102, 27));
167:                        ivjIdUniquenessValueLabel.setText(" UNIQUE_ID");
168:                        ivjIdUniquenessValueLabel
169:                                .setBackground(java.awt.SystemColor.control);
170:                        ivjIdUniquenessValueLabel.setFont(new java.awt.Font(
171:                                "dialog", 0, 10));
172:                        ivjIdUniquenessValueLabel
173:                                .setBounds(new java.awt.Rectangle(102, 27, 179,
174:                                        12));
175:                        ivjIdUniquenessValueLabel.setBounds(102, 27, 179, 12);
176:                        // user code begin {1}
177:                        // user code end
178:                    } catch (java.lang.Throwable ivjExc) {
179:                        // user code begin {2}
180:                        // user code end
181:                        handleException(ivjExc);
182:                    }
183:                }
184:                return ivjIdUniquenessValueLabel;
185:            }
186:
187:            Label _getImplicitActivationLabel() {
188:                return getImplicitActivationValueLabel();
189:            }
190:
191:            /**
192:             * Return the ImplicitActivationNameLabel property value.
193:             * @return java.awt.Label
194:             */
195:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
196:            private java.awt.Label getImplicitActivationNameLabel() {
197:                if (ivjImplicitActivationNameLabel == null) {
198:                    try {
199:                        ivjImplicitActivationNameLabel = new java.awt.Label();
200:                        ivjImplicitActivationNameLabel
201:                                .setName("ImplicitActivationNameLabel");
202:                        ivjImplicitActivationNameLabel
203:                                .setLocation(new java.awt.Point(1, 79));
204:                        ivjImplicitActivationNameLabel
205:                                .setText(" Implicit Activation");
206:                        ivjImplicitActivationNameLabel
207:                                .setBackground(java.awt.SystemColor.control);
208:                        ivjImplicitActivationNameLabel
209:                                .setFont(new java.awt.Font("dialog", 2, 10));
210:                        ivjImplicitActivationNameLabel
211:                                .setBounds(new java.awt.Rectangle(1, 79, 100,
212:                                        12));
213:                        ivjImplicitActivationNameLabel
214:                                .setBounds(1, 79, 100, 12);
215:                        // user code begin {1}
216:                        // user code end
217:                    } catch (java.lang.Throwable ivjExc) {
218:                        // user code begin {2}
219:                        // user code end
220:                        handleException(ivjExc);
221:                    }
222:                }
223:                return ivjImplicitActivationNameLabel;
224:            }
225:
226:            /**
227:             * Return the ImplicitActivationValueLabel property value.
228:             * @return java.awt.Label
229:             */
230:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
231:            private java.awt.Label getImplicitActivationValueLabel() {
232:                if (ivjImplicitActivationValueLabel == null) {
233:                    try {
234:                        ivjImplicitActivationValueLabel = new java.awt.Label();
235:                        ivjImplicitActivationValueLabel
236:                                .setName("ImplicitActivationValueLabel");
237:                        ivjImplicitActivationValueLabel
238:                                .setLocation(new java.awt.Point(102, 79));
239:                        ivjImplicitActivationValueLabel
240:                                .setText(" IMPLICIT_ACTIVATION");
241:                        ivjImplicitActivationValueLabel
242:                                .setBackground(java.awt.SystemColor.control);
243:                        ivjImplicitActivationValueLabel
244:                                .setFont(new java.awt.Font("dialog", 0, 10));
245:                        ivjImplicitActivationValueLabel
246:                                .setBounds(new java.awt.Rectangle(102, 79, 179,
247:                                        12));
248:                        ivjImplicitActivationValueLabel.setBounds(102, 79, 179,
249:                                12);
250:                        // user code begin {1}
251:                        // user code end
252:                    } catch (java.lang.Throwable ivjExc) {
253:                        // user code begin {2}
254:                        // user code end
255:                        handleException(ivjExc);
256:                    }
257:                }
258:                return ivjImplicitActivationValueLabel;
259:            }
260:
261:            Label _getLifespanLabel() {
262:                return getLifespanValueLabel();
263:            }
264:
265:            /**
266:             * Return the LifespanNameLabel property value.
267:             * @return java.awt.Label
268:             */
269:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
270:            private java.awt.Label getLifespanNameLabel() {
271:                if (ivjLifespanNameLabel == null) {
272:                    try {
273:                        ivjLifespanNameLabel = new java.awt.Label();
274:                        ivjLifespanNameLabel.setName("LifespanNameLabel");
275:                        ivjLifespanNameLabel.setLocation(new java.awt.Point(1,
276:                                14));
277:                        ivjLifespanNameLabel.setText(" Lifespan");
278:                        ivjLifespanNameLabel
279:                                .setBackground(java.awt.SystemColor.control);
280:                        ivjLifespanNameLabel.setFont(new java.awt.Font(
281:                                "dialog", 2, 10));
282:                        ivjLifespanNameLabel.setBounds(new java.awt.Rectangle(
283:                                1, 14, 100, 12));
284:                        ivjLifespanNameLabel.setBounds(1, 14, 100, 12);
285:                        // user code begin {1}
286:                        // user code end
287:                    } catch (java.lang.Throwable ivjExc) {
288:                        // user code begin {2}
289:                        // user code end
290:                        handleException(ivjExc);
291:                    }
292:                }
293:                return ivjLifespanNameLabel;
294:            }
295:
296:            /**
297:             * Return the LifespanValueLabel property value.
298:             * @return java.awt.Label
299:             */
300:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
301:            private java.awt.Label getLifespanValueLabel() {
302:                if (ivjLifespanValueLabel == null) {
303:                    try {
304:                        ivjLifespanValueLabel = new java.awt.Label();
305:                        ivjLifespanValueLabel.setName("LifespanValueLabel");
306:                        ivjLifespanValueLabel.setLocation(new java.awt.Point(
307:                                102, 14));
308:                        ivjLifespanValueLabel.setText(" TRANSIENT");
309:                        ivjLifespanValueLabel
310:                                .setBackground(java.awt.SystemColor.control);
311:                        ivjLifespanValueLabel.setFont(new java.awt.Font(
312:                                "dialog", 0, 10));
313:                        ivjLifespanValueLabel.setBounds(new java.awt.Rectangle(
314:                                102, 14, 179, 12));
315:                        ivjLifespanValueLabel.setBounds(102, 14, 179, 12);
316:                        // user code begin {1}
317:                        // user code end
318:                    } catch (java.lang.Throwable ivjExc) {
319:                        // user code begin {2}
320:                        // user code end
321:                        handleException(ivjExc);
322:                    }
323:                }
324:                return ivjLifespanValueLabel;
325:            }
326:
327:            Label _getRequestProcessingLabel() {
328:                return getRequestProcessingValueLabel();
329:            }
330:
331:            /**
332:             * Return the RequestProcessingNameLabel property value.
333:             * @return java.awt.Label
334:             */
335:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
336:            private java.awt.Label getRequestProcessingNameLabel() {
337:                if (ivjRequestProcessingNameLabel == null) {
338:                    try {
339:                        ivjRequestProcessingNameLabel = new java.awt.Label();
340:                        ivjRequestProcessingNameLabel
341:                                .setName("RequestProcessingNameLabel");
342:                        ivjRequestProcessingNameLabel
343:                                .setLocation(new java.awt.Point(1, 66));
344:                        ivjRequestProcessingNameLabel
345:                                .setText(" Request Processing");
346:                        ivjRequestProcessingNameLabel
347:                                .setBackground(java.awt.SystemColor.control);
348:                        ivjRequestProcessingNameLabel
349:                                .setFont(new java.awt.Font("dialog", 2, 10));
350:                        ivjRequestProcessingNameLabel
351:                                .setBounds(new java.awt.Rectangle(1, 66, 100,
352:                                        12));
353:                        ivjRequestProcessingNameLabel.setBounds(1, 66, 100, 12);
354:                        // user code begin {1}
355:                        // user code end
356:                    } catch (java.lang.Throwable ivjExc) {
357:                        // user code begin {2}
358:                        // user code end
359:                        handleException(ivjExc);
360:                    }
361:                }
362:                return ivjRequestProcessingNameLabel;
363:            }
364:
365:            /**
366:             * Return the RequestProcessingValueLabel property value.
367:             * @return java.awt.Label
368:             */
369:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
370:            private java.awt.Label getRequestProcessingValueLabel() {
371:                if (ivjRequestProcessingValueLabel == null) {
372:                    try {
373:                        ivjRequestProcessingValueLabel = new java.awt.Label();
374:                        ivjRequestProcessingValueLabel
375:                                .setName("RequestProcessingValueLabel");
376:                        ivjRequestProcessingValueLabel
377:                                .setLocation(new java.awt.Point(102, 66));
378:                        ivjRequestProcessingValueLabel
379:                                .setText(" USE_ACTIVE_OBJECT_MAP_ONLY");
380:                        ivjRequestProcessingValueLabel
381:                                .setBackground(java.awt.SystemColor.control);
382:                        ivjRequestProcessingValueLabel
383:                                .setFont(new java.awt.Font("dialog", 0, 10));
384:                        ivjRequestProcessingValueLabel
385:                                .setBounds(new java.awt.Rectangle(102, 66, 179,
386:                                        12));
387:                        ivjRequestProcessingValueLabel.setBounds(102, 66, 179,
388:                                12);
389:                        // user code begin {1}
390:                        // user code end
391:                    } catch (java.lang.Throwable ivjExc) {
392:                        // user code begin {2}
393:                        // user code end
394:                        handleException(ivjExc);
395:                    }
396:                }
397:                return ivjRequestProcessingValueLabel;
398:            }
399:
400:            Label _getServantRetentionLabel() {
401:                return getServantRetentionValueLabel();
402:            }
403:
404:            /**
405:             * Return the ServantRetentionNameLabel property value.
406:             * @return java.awt.Label
407:             */
408:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
409:            private java.awt.Label getServantRetentionNameLabel() {
410:                if (ivjServantRetentionNameLabel == null) {
411:                    try {
412:                        ivjServantRetentionNameLabel = new java.awt.Label();
413:                        ivjServantRetentionNameLabel
414:                                .setName("ServantRetentionNameLabel");
415:                        ivjServantRetentionNameLabel
416:                                .setLocation(new java.awt.Point(1, 53));
417:                        ivjServantRetentionNameLabel
418:                                .setText(" Servant Retention");
419:                        ivjServantRetentionNameLabel
420:                                .setBackground(java.awt.SystemColor.control);
421:                        ivjServantRetentionNameLabel.setFont(new java.awt.Font(
422:                                "dialog", 2, 10));
423:                        ivjServantRetentionNameLabel
424:                                .setBounds(new java.awt.Rectangle(1, 53, 100,
425:                                        12));
426:                        ivjServantRetentionNameLabel.setBounds(1, 53, 100, 12);
427:                        // user code begin {1}
428:                        // user code end
429:                    } catch (java.lang.Throwable ivjExc) {
430:                        // user code begin {2}
431:                        // user code end
432:                        handleException(ivjExc);
433:                    }
434:                }
435:                return ivjServantRetentionNameLabel;
436:            }
437:
438:            /**
439:             * Return the ServantRetentionValueLabel property value.
440:             * @return java.awt.Label
441:             */
442:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
443:            private java.awt.Label getServantRetentionValueLabel() {
444:                if (ivjServantRetentionValueLabel == null) {
445:                    try {
446:                        ivjServantRetentionValueLabel = new java.awt.Label();
447:                        ivjServantRetentionValueLabel
448:                                .setName("ServantRetentionValueLabel");
449:                        ivjServantRetentionValueLabel
450:                                .setLocation(new java.awt.Point(102, 53));
451:                        ivjServantRetentionValueLabel.setText(" RETAIN");
452:                        ivjServantRetentionValueLabel
453:                                .setBackground(java.awt.SystemColor.control);
454:                        ivjServantRetentionValueLabel
455:                                .setFont(new java.awt.Font("dialog", 0, 10));
456:                        ivjServantRetentionValueLabel
457:                                .setBounds(new java.awt.Rectangle(102, 53, 179,
458:                                        12));
459:                        ivjServantRetentionValueLabel.setBounds(102, 53, 179,
460:                                12);
461:                        // user code begin {1}
462:                        // user code end
463:                    } catch (java.lang.Throwable ivjExc) {
464:                        // user code begin {2}
465:                        // user code end
466:                        handleException(ivjExc);
467:                    }
468:                }
469:                return ivjServantRetentionValueLabel;
470:            }
471:
472:            /**
473:             * Return the TablePanel property value.
474:             * @return java.awt.Panel
475:             */
476:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
477:            private java.awt.Panel getTablePanel() {
478:                if (ivjTablePanel == null) {
479:                    try {
480:                        ivjTablePanel = new java.awt.Panel();
481:                        ivjTablePanel.setName("TablePanel");
482:                        ivjTablePanel.setLocation(new java.awt.Point(9, 35));
483:                        ivjTablePanel.setLayout(null);
484:                        ivjTablePanel
485:                                .setBackground(java.awt.SystemColor.controlShadow);
486:                        ivjTablePanel.setBounds(new java.awt.Rectangle(9, 35,
487:                                282, 92));
488:                        ivjTablePanel.setBounds(9, 35, 282, 92);
489:                        getTablePanel().add(getIdUniquenessNameLabel(),
490:                                getIdUniquenessNameLabel().getName());
491:                        getTablePanel().add(getIdUniquenessValueLabel(),
492:                                getIdUniquenessValueLabel().getName());
493:                        getTablePanel().add(getLifespanValueLabel(),
494:                                getLifespanValueLabel().getName());
495:                        getTablePanel().add(getThreadValueLabel(),
496:                                getThreadValueLabel().getName());
497:                        getTablePanel().add(getThreadNameLabel(),
498:                                getThreadNameLabel().getName());
499:                        getTablePanel().add(getLifespanNameLabel(),
500:                                getLifespanNameLabel().getName());
501:                        getTablePanel().add(getRequestProcessingNameLabel(),
502:                                getRequestProcessingNameLabel().getName());
503:                        getTablePanel().add(getImplicitActivationNameLabel(),
504:                                getImplicitActivationNameLabel().getName());
505:                        getTablePanel().add(getIdAssignmentNameLabel(),
506:                                getIdAssignmentNameLabel().getName());
507:                        getTablePanel().add(getIdAssignmentValueLabel(),
508:                                getIdAssignmentValueLabel().getName());
509:                        getTablePanel().add(getImplicitActivationValueLabel(),
510:                                getImplicitActivationValueLabel().getName());
511:                        getTablePanel().add(getRequestProcessingValueLabel(),
512:                                getRequestProcessingValueLabel().getName());
513:                        getTablePanel().add(getServantRetentionValueLabel(),
514:                                getServantRetentionValueLabel().getName());
515:                        getTablePanel().add(getServantRetentionNameLabel(),
516:                                getServantRetentionNameLabel().getName());
517:                        // user code begin {1}
518:                        // user code end
519:                    } catch (java.lang.Throwable ivjExc) {
520:                        // user code begin {2}
521:                        // user code end
522:                        handleException(ivjExc);
523:                    }
524:                }
525:                return ivjTablePanel;
526:            }
527:
528:            Label _getThreadLabel() {
529:                return getThreadValueLabel();
530:            }
531:
532:            /**
533:             * Return the ThreadNameLabel property value.
534:             * @return java.awt.Label
535:             */
536:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
537:            private java.awt.Label getThreadNameLabel() {
538:                if (ivjThreadNameLabel == null) {
539:                    try {
540:                        ivjThreadNameLabel = new java.awt.Label();
541:                        ivjThreadNameLabel.setName("ThreadNameLabel");
542:                        ivjThreadNameLabel
543:                                .setLocation(new java.awt.Point(1, 1));
544:                        ivjThreadNameLabel.setText(" Thread");
545:                        ivjThreadNameLabel
546:                                .setBackground(java.awt.SystemColor.control);
547:                        ivjThreadNameLabel.setFont(new java.awt.Font("dialog",
548:                                2, 10));
549:                        ivjThreadNameLabel.setBounds(new java.awt.Rectangle(1,
550:                                1, 100, 12));
551:                        ivjThreadNameLabel.setBounds(1, 1, 100, 12);
552:                        // user code begin {1}
553:                        // user code end
554:                    } catch (java.lang.Throwable ivjExc) {
555:                        // user code begin {2}
556:                        // user code end
557:                        handleException(ivjExc);
558:                    }
559:                }
560:                return ivjThreadNameLabel;
561:            }
562:
563:            /**
564:             * Return the ThreadValueLabel property value.
565:             * @return java.awt.Label
566:             */
567:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
568:            private java.awt.Label getThreadValueLabel() {
569:                if (ivjThreadValueLabel == null) {
570:                    try {
571:                        ivjThreadValueLabel = new java.awt.Label();
572:                        ivjThreadValueLabel.setName("ThreadValueLabel");
573:                        ivjThreadValueLabel.setLocation(new java.awt.Point(102,
574:                                1));
575:                        ivjThreadValueLabel.setText(" ORB_CTRL_MODEL");
576:                        ivjThreadValueLabel
577:                                .setBackground(java.awt.SystemColor.control);
578:                        ivjThreadValueLabel.setFont(new java.awt.Font("dialog",
579:                                0, 10));
580:                        ivjThreadValueLabel.setBounds(new java.awt.Rectangle(
581:                                102, 1, 179, 12));
582:                        ivjThreadValueLabel.setBounds(102, 1, 179, 12);
583:                        // user code begin {1}
584:                        // user code end
585:                    } catch (java.lang.Throwable ivjExc) {
586:                        // user code begin {2}
587:                        // user code end
588:                        handleException(ivjExc);
589:                    }
590:                }
591:                return ivjThreadValueLabel;
592:            }
593:
594:            /**
595:             * Return the TitleLabel property value.
596:             * @return java.awt.Label
597:             */
598:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
599:            private java.awt.Label getTitleLabel() {
600:                if (ivjTitleLabel == null) {
601:                    try {
602:                        ivjTitleLabel = new java.awt.Label();
603:                        ivjTitleLabel.setName("TitleLabel");
604:                        ivjTitleLabel.setLocation(new java.awt.Point(12, 8));
605:                        ivjTitleLabel.setText("Policies:");
606:                        ivjTitleLabel
607:                                .setBackground(java.awt.SystemColor.control);
608:                        ivjTitleLabel
609:                                .setForeground(new java.awt.Color(0, 0, 0));
610:                        ivjTitleLabel.setBounds(new java.awt.Rectangle(12, 8,
611:                                52, 23));
612:                        ivjTitleLabel.setBounds(12, 8, 52, 23);
613:                        // user code begin {1}
614:                        // user code end
615:                    } catch (java.lang.Throwable ivjExc) {
616:                        // user code begin {2}
617:                        // user code end
618:                        handleException(ivjExc);
619:                    }
620:                }
621:                return ivjTitleLabel;
622:            }
623:
624:            /**
625:             * Called whenever the part throws an exception.
626:             * @param exception java.lang.Throwable
627:             */
628:            private void handleException(Throwable exception) {
629:
630:                /* Uncomment the following lines to print uncaught exceptions to stdout */
631:                // System.out.println("--------- UNCAUGHT EXCEPTION ---------");
632:                // exception.printStackTrace(System.out);
633:            }
634:
635:            /**
636:             * Initialize the class.
637:             */
638:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
639:            private void initialize() {
640:                try {
641:                    // user code begin {1}
642:                    // user code end
643:                    setName("PolicyPanel");
644:                    setBounds(new java.awt.Rectangle(0, 0, 300, 140));
645:                    setLayout(null);
646:                    setBackground(java.awt.SystemColor.control);
647:                    setSize(300, 140);
648:                    add(getTitleLabel(), getTitleLabel().getName());
649:                    add(getTablePanel(), getTablePanel().getName());
650:                } catch (java.lang.Throwable ivjExc) {
651:                    handleException(ivjExc);
652:                }
653:                // user code begin {2}
654:                // user code end
655:            }
656:
657:            /**
658:             * PolicyPanel constructor comment.
659:             * @param layout java.awt.LayoutManager
660:             */
661:            public PolicyPanel(java.awt.LayoutManager layout) {
662:                super (layout);
663:            }
664:
665:            /**
666:             * main entrypoint - starts the part when it is run as an application
667:             * @param args java.lang.String[]
668:             */
669:            public static void main(java.lang.String[] args) {
670:                try {
671:                    java.awt.Frame frame;
672:                    try {
673:                        Class aFrameClass = Class
674:                                .forName("com.ibm.uvm.abt.edit.TestFrame");
675:                        frame = (java.awt.Frame) aFrameClass.newInstance();
676:                    } catch (java.lang.Throwable ivjExc) {
677:                        frame = new java.awt.Frame();
678:                    }
679:                    PolicyPanel aPolicyPanel;
680:                    aPolicyPanel = new PolicyPanel();
681:                    frame.add("Center", aPolicyPanel);
682:                    frame.setSize(aPolicyPanel.getSize());
683:                    frame.setVisible(true);
684:                } catch (Throwable exception) {
685:                    System.err
686:                            .println("Exception occurred in main() of java.awt.Panel");
687:                    exception.printStackTrace(System.out);
688:                }
689:            }
690:
691:            public void paint(java.awt.Graphics g) {
692:                g.setColor(getBackground());
693:                g.fill3DRect(0, 0, getBounds().width, getBounds().height, true);
694:            }
695:
696:            /**
697:             * Constructor
698:             */
699:            /* WARNING: THIS METHOD WILL BE REGENERATED. */
700:            public PolicyPanel() {
701:                super();
702:                initialize();
703:            }
704:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.