Source Code Cross Referenced for testReformat2.java in  » IDE-Netbeans » java » org » netbeans » test » java » editor » formatting » 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 » IDE Netbeans » java » org.netbeans.test.java.editor.formatting 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * testReformat2.java
003:         *
004:         * Created on January 15, 2007, 2:25 PM
005:         *
006:         * To change this template, choose Tools | Template Manager
007:         * and open the template in the editor.
008:         */
009:        package org.netbeans.test.java.editor.formatting;
010:
011:        import java.awt.Graphics;
012:        import java.awt.event.ActionEvent;
013:        import java.awt.event.ActionListener;
014:        import java.io.Serializable;
015:        import java.util.ArrayList;
016:        import java.util.List;
017:        import javax.swing.JButton;
018:
019:        /**
020:         * Inner classes, anonymous classes, annotation formatting
021:         * @author ms159439
022:         */
023:        public class testReformat2<E> extends ArrayList<E> implements  List<E> {
024:
025:            /** Creates a new instance of testReformat2 */
026:            public testReformat2() {
027:            }
028:
029:            //                               .:xxxxxxxx:.
030:            //                             .xxxxxxxxxxxxxxxx.
031:            //                            :xxxxxxxxxxxxxxxxxxx:.
032:            //                           .xxxxxxxxxxxxxxxxxxxxxxx:
033:            //                          :xxxxxxxxxxxxxxxxxxxxxxxxx:
034:            //                          xxxxxxxxxxxxxxxxxxxxxxxxxxX:
035:            //                          xxx:::xxxxxxxx::::xxxxxxxxx:
036:            //                         .xx:   ::xxxxx:     :xxxxxxxx
037:            //                         :xx  x.  xxxx:  xx.  xxxxxxxx
038:            //                         :xx xxx  xxxx: xxxx  :xxxxxxx
039:            //                         'xx 'xx  xxxx:. xx'  xxxxxxxx
040:            //                          xx ::::::xx:::::.   xxxxxxxx
041:            //                          xx:::::.::::.:::::::xxxxxxxx
042:            //                          :x'::::'::::':::::':xxxxxxxxx.
043:            //                          :xx.::::::::::::'   xxxxxxxxxx
044:            //                          :xx: '::::::::'     :xxxxxxxxxx.
045:            //                         .xx     '::::'        'xxxxxxxxxx.
046:            //                       .xxxx                     'xxxxxxxxx.
047:            //                     .xxxx                         'xxxxxxxxx.
048:            //                   .xxxxx:                          xxxxxxxxxx.
049:            //                  .xxxxx:'                          xxxxxxxxxxx.
050:            //                 .xxxxxx:::.           .       ..:::_xxxxxxxxxxx:.
051:            //                .xxxxxxx''      ':::''            ''::xxxxxxxxxxxx.
052:            //                xxxxxx            :                  '::xxxxxxxxxxxx
053:            //               :xxxx:'            :                    'xxxxxxxxxxxx:
054:            //              .xxxxx              :                     ::xxxxxxxxxxxx
055:            //              xxxx:'                                    ::xxxxxxxxxxxx
056:            //              xxxx               .                      ::xxxxxxxxxxxx.
057:            //          .:xxxxxx               :                      ::xxxxxxxxxxxx::
058:            //          xxxxxxxx               :                      ::xxxxxxxxxxxxx:
059:            //          xxxxxxxx               :                      ::xxxxxxxxxxxxx:
060:            //          ':xxxxxx               '                      ::xxxxxxxxxxxx:'
061:            //            .:. xx:.                                   .:xxxxxxxxxxxxx'
062:            //          ::::::.'xx:.            :                  .:: xxxxxxxxxxx':
063:            //  .:::::::::::::::.'xxxx.                            ::::'xxxxxxxx':::.
064:            //  ::::::::::::::::::.'xxxxx                          :::::.'.xx.'::::::.
065:            //  ::::::::::::::::::::.'xxxx:.                       :::::::.'':::::::::
066:            //  ':::::::::::::::::::::.'xx:'                     .'::::::::::::::::::::..
067:            //    :::::::::::::::::::::.'xx                    .:: :::::::::::::::::::::::
068:            //  .:::::::::::::::::::::::. xx               .::xxxx :::::::::::::::::::::::
069:            //  :::::::::::::::::::::::::.'xxx..        .::xxxxxxx ::::::::::::::::::::'
070:            //  '::::::::::::::::::::::::: xxxxxxxxxxxxxxxxxxxxxxx :::::::::::::::::'
071:            //    '::::::::::::::::::::::: xxxxxxxxxxxxxxxxxxxxxxx :::::::::::::::'
072:            //        ':::::::::::::::::::_xxxxxx::'''::xxxxxxxxxx '::::::::::::'
073:            //             '':.::::::::::'                        `._'::::::''
074:            class myButton extends JButton {
075:
076:                public myButton() {
077:                    this .addActionListener(new ActionListener() {
078:
079:                        public void actionPerformed(ActionEvent arg0) {
080:                            //              a8888b.
081:                            //             d888888b.
082:                            //             8P"YP"Y88
083:                            //             8|o||o|88
084:                            //             8'    .88
085:                            //             8`._.' Y8.
086:                            //            d/      `8b.
087:                            //           dP   .    Y8b.
088:                            //          d8:'  "  `::88b
089:                            //         d8"         'Y88b
090:                            //        :8P    '      :888
091:                            //         8a.   :     _a88P
092:                            //       ._/"Yaa_:   .| 88P|
093:                            //  jgs  \    YP"    `| 8P  `.
094:                            //  a:f  /     \.___.d|    .'
095:                            //       `--..__)8888P`._.'
096:                            myButtonActionPerformed(arg0);
097:                        }
098:                    });
099:                }
100:
101:                /**
102:                 * A javadoc comment
103:                 */
104:                public void myButtonActionPerformed(ActionEvent evt) {
105:                    System.out
106:                            .println("-==-"
107:                                    + "These smiling eyes are just a mirror for the sun.");
108:                }
109:
110:                @Override
111:                @SuppressWarnings("unchecked")
112:                public void paint(Graphics arg0) {
113:                    super .paint(arg0);
114:                }
115:            }
116:
117:            @Deprecated
118:            class Doktor implements  Serializable {
119:            }
120:        }
121:
122:        class Objects {
123:
124:            @SuppressWarnings({"unchecked","unused"})
125:            static <T> T cast(final Object target) {
126:                return (T) target;
127:            }
128:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.