Source Code Cross Referenced for TestPanel3.java in  » Database-Client » DBBrowser » com » nexes » test » 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 » Database Client » DBBrowser » com.nexes.test 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package com.nexes.test;
002:
003:        import javax.swing.*;
004:        import javax.swing.border.*;
005:        import java.awt.*;
006:        import java.awt.event.*;
007:
008:        import com.nexes.wizard.*;
009:
010:        public class TestPanel3 extends JPanel {
011:
012:            private JLabel anotherBlankSpace;
013:            private JLabel blankSpace;
014:            private ButtonGroup connectorGroup;
015:            private JLabel jLabel1;
016:            private JPanel jPanel1;
017:            private JLabel progressDescription;
018:            private JProgressBar progressSent;
019:            private JLabel welcomeTitle;
020:            private JLabel yetAnotherBlankSpace1;
021:
022:            private JPanel contentPanel;
023:            private JLabel iconLabel;
024:            private JSeparator separator;
025:            private JLabel textLabel;
026:            private JPanel titlePanel;
027:
028:            public TestPanel3() {
029:
030:                super ();
031:
032:                contentPanel = getContentPanel();
033:                ImageIcon icon = getImageIcon();
034:
035:                titlePanel = new javax.swing.JPanel();
036:                textLabel = new javax.swing.JLabel();
037:                iconLabel = new javax.swing.JLabel();
038:                separator = new javax.swing.JSeparator();
039:
040:                setLayout(new java.awt.BorderLayout());
041:
042:                titlePanel.setLayout(new java.awt.BorderLayout());
043:                titlePanel.setBackground(Color.gray);
044:
045:                textLabel.setBackground(Color.gray);
046:                textLabel.setFont(new Font("MS Sans Serif", Font.BOLD, 14));
047:                textLabel.setText("Pretending To Connect To Server");
048:                textLabel
049:                        .setBorder(new EmptyBorder(new Insets(10, 10, 10, 10)));
050:                textLabel.setOpaque(true);
051:
052:                iconLabel.setBackground(Color.gray);
053:                if (icon != null)
054:                    iconLabel.setIcon(icon);
055:
056:                titlePanel.add(textLabel, BorderLayout.CENTER);
057:                titlePanel.add(iconLabel, BorderLayout.EAST);
058:                titlePanel.add(separator, BorderLayout.SOUTH);
059:
060:                add(titlePanel, BorderLayout.NORTH);
061:                JPanel secondaryPanel = new JPanel();
062:                secondaryPanel.add(contentPanel, BorderLayout.NORTH);
063:                add(secondaryPanel, BorderLayout.WEST);
064:
065:            }
066:
067:            public void setProgressText(String s) {
068:                progressDescription.setText(s);
069:            }
070:
071:            public void setProgressValue(int i) {
072:                progressSent.setValue(i);
073:            }
074:
075:            private JPanel getContentPanel() {
076:
077:                JPanel contentPanel1 = new JPanel();
078:
079:                connectorGroup = new ButtonGroup();
080:                welcomeTitle = new JLabel();
081:                jPanel1 = new JPanel();
082:                blankSpace = new JLabel();
083:                progressSent = new JProgressBar();
084:                progressDescription = new JLabel();
085:                anotherBlankSpace = new JLabel();
086:                yetAnotherBlankSpace1 = new JLabel();
087:                jLabel1 = new JLabel();
088:
089:                contentPanel1.setLayout(new java.awt.BorderLayout());
090:
091:                welcomeTitle
092:                        .setText("Now we will pretend to send this data somewhere for approval...");
093:                contentPanel1.add(welcomeTitle, java.awt.BorderLayout.NORTH);
094:
095:                jPanel1.setLayout(new java.awt.GridLayout(0, 1));
096:
097:                jPanel1.add(blankSpace);
098:
099:                progressSent.setStringPainted(true);
100:                jPanel1.add(progressSent);
101:
102:                progressDescription.setFont(new java.awt.Font("MS Sans Serif",
103:                        1, 11));
104:                progressDescription.setText("Connecting to Server...");
105:                jPanel1.add(progressDescription);
106:
107:                jPanel1.add(anotherBlankSpace);
108:
109:                jPanel1.add(yetAnotherBlankSpace1);
110:
111:                contentPanel1.add(jPanel1, java.awt.BorderLayout.CENTER);
112:
113:                jLabel1
114:                        .setText("After the sending is completed, the Back and Finish buttons will enable below.");
115:                contentPanel1.add(jLabel1, java.awt.BorderLayout.SOUTH);
116:
117:                return contentPanel1;
118:            }
119:
120:            private ImageIcon getImageIcon() {
121:                return null;
122:            }
123:
124:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.