Fundamentals of Programming by Budditha Hettige

Fundamentals of Programming by Budditha Hettige

Fundamentals of Programming Working With IDE By Budditha Hettige Overview • What are the Programming Challenges? • Solutions? • NetBeans • System Requirements • Fast & Smart Code Editing • Facilities • Samples • Working with IDE Budditha Hettige ([email protected]) 2 Programming Challenges • Difficult to Memorize Codes • Difficult to set PATH • Difficult to compile and RUN • Difficult to correct errors • Etc.. Budditha Hettige ([email protected]) 3 Solution: Programming IDEs • Eclipse Eclipse is a multi-language software development environment http://www.eclipse.org/ • Netbeans http://netbeans.org/ • Microsoft Visual Studio http://www.microsoft.com/visualstudio/en-us Budditha Hettige ([email protected]) 4 Programming with IDE • IDE : integrated design environment • consists of – source code editor – compiler and/or an interpreter – build automation tools – Debugger – Construction of a GUI – Class browser – Object inspector – Etc. Budditha Hettige ([email protected]) 5 NetBeans • The Smarter and Faster Way to Code • Quickly and easily develop desktop, mobile and web applications with Java, HTML5, PHP, C/C++ and more – Best Support for Latest Java Technologies – Support for Multiple Languages – Fast & Smart Code Editing – Cross Platform Support • Download – https://netbeans.org/downloads/index.html Budditha Hettige ([email protected]) 6 Best Support for Latest Java Technologies • Support for the newest Java technologies and latest Java enhancements – JDK 7, Java EE 6, and JavaFX 2 Budditha Hettige ([email protected]) 7 System Requirements • Microsoft Windows XP Professional SP3/Vista SP1/Windows 7 Professional: – Processor: 800MHz Intel Pentium III or equivalent – Memory: 512 MB – Disk space: 750 MB of free disk space • Ubuntu 9.10: – Processor: 800MHz Intel Pentium III or equivalent – Memory: 512 MB – Disk space: 650 MB of free disk space Budditha Hettige ([email protected]) 8 Fast & Smart Code Editing • IDE is much more than a text editor. – Indents lines – Matches words and brackets – Highlights source code syntactically and semantically. • The editor supports many languages from – Java – C/C++ – XML – HTML – PHP Budditha Hettige ([email protected]) 9 NetBeans Project Budditha Hettige ([email protected]) 10 Source Code Editor Budditha Hettige ([email protected]) 11 Error Correction • Syntax Errors can correct easily Budditha Hettige ([email protected]) 12 Code Supporting Budditha Hettige ([email protected]) 13 Auto Code generation Budditha Hettige ([email protected]) 14 Compile and RUN Budditha Hettige ([email protected]) 15 ON Screen Output Budditha Hettige ([email protected]) 16 Debagging Budditha Hettige ([email protected]) 17 Projects Budditha Hettige ([email protected]) 18 JAVA File Type Budditha Hettige ([email protected]) 19 JAVA GUI Forms Budditha Hettige ([email protected]) 20 JAVA Class Budditha Hettige ([email protected]) 21 JAVA GUI form Budditha Hettige ([email protected]) 22 Working with IDE • Install Netbeans IDE • Create a Java Application Project • Create a new File With Main Method • Display the following output --------------------------------------- WELCOME TO JAVA PROGRAMMING --------------------------------------- Budditha Hettige ([email protected]) 23 Exercise Create a JAVA Program to display the following output EMPLOYEE DETAILS --------------------------------------- 1. Employee NO : HIT1001 2. Name : Mr. A. B. Gamage 2. Age : 30 3. Salary : 23507.50 4. Married : Y 5. Car (Y/N) : N --------------------------------------- Budditha Hettige ([email protected]) 24 .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    24 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us