Introduction to Java for Business

by Jill LaFreniere

This textbook introduces students to Java programming through practical, business-oriented applications. Beginning with the fundamentals of Java, program development, and debugging, it progresses through variables, calculations, data formatting, conditional logic, methods, data validation, arrays, and collections. Students then apply these concepts to develop graphical user interfaces using JavaFX and Swing, working with controls such as buttons, text fields, checkboxes, and formatted fields.

Description from LibreTexts.

Publisher
Southern Illinois University Edwardsville
Subjects
Business
Licence
CC BY-NC-ND 4.0, as LibreTexts states it. Non-commercial use only, and no changed versions.
Who can read
Tweens profiles and older, judged from its title and subjects

Contents

LibreTexts writes equations in TeX, and here they show as TeX; the PDF has them typeset.

  1. Front Matter
  2. TitlePage
  3. InfoPage
  4. Table of Contents
  5. Licensing
  6. 1: Introduction to Java Programing
  7. 1.1: Introduction to the Java Programming Language
  8. 1.2: Software Applications for Java Development
  9. 1.3: Getting Started with Apache NetBeans
  10. 1.4: Program Coding
  11. 1.5: Managing Projects
  12. 1.6: Opening an Existing Project
  13. 1.7: Program Errors
  14. 1.8: Java Help
  15. 1.9: In-Class Exercise
  16. 1.10: Summary Page- Introduction to Java Programming
  17. 1.11: Index of Key Terms
  18. 1.12: Learning Module
  19. 1.13: References
  20. 1.14: Answer Sheets for end of Chapter learning modules
  21. 2: How to Write your First Java Applications
  22. 2.1: Working with Variables
  23. 2.2: The Main Method
  24. 2.3: Common Data Types
  25. 2.4: How to import a new class from a package
  26. 2.5: The Scanner object
  27. 2.6: Scanner Methods
  28. 2.7: Testing and Debugging an Application
  29. 2.8: In-Class Exercise
  30. 2.9: Summary Page- Introduction to Variables in Java
  31. 2.10: Index of Key Terms
  32. 2.11: Learning Module
  33. 2.12: References
  34. 2.13: Answer Sheets for end of Chapter learning modules
  35. 3: Variables, Constants, and Calculations
  36. 3.1: INTRODUCTION
  37. 3.2: Variables and Data Storage
  38. 3.3: Naming Variables and Constants
  39. 3.4: CALCULATIONS
  40. 3.5: Formatting Data
  41. 3.6: DecimalFormat
  42. 3.7: Sums, Counts, and Averages
  43. 3.8: Handling Exceptions – Data Errors
  44. 3.9: In-Class Exercise – Computing Student Book Sales Information
  45. 3.10: Summary Page- Chapter 3
  46. 3.11: Index of Key Terms
  47. 3.12: Learning Module
  48. 3.13: Answer Sheets for end of Chapter learning modules
  49. 4: Decisions and Conditions
  50. 4.1: INTRODUCTION
  51. 4.2: Decision Structures and Commands
  52. 4.3: Single Condition If Statement
  53. 4.4: Block If Statement with Else Branch
  54. 4.5: Logical Operators
  55. 4.6: Main Event Sub Procedure
  56. 4.7: Debugging JAVA
  57. 4.8: In-Class Exercise
  58. 4.9: Solution to In-Class Exercise
  59. 4.10: Summary Page- Chapter 4
  60. 4.11: Index of Key Terms
  61. 4.12: Learning Module
  62. 4.13: Answer Sheets for end of Chapter learning modules
  63. 5: Methods
  64. 5.1: INTRODUCTION
  65. 5.2: Input Data Validation
  66. 5.3: Compute Gross Method
  67. 5.4: Compute Federal methods
  68. 5.5: ComputeBenefits Method
  69. 5.6: Using Block Comments To Organize Code
  70. 5.7: In Class Exercise
  71. 5.8: Solution to In-Class Exercise
  72. 5.9: Summary Page- Understanding Methods and Data Validation
  73. 5.10: Index of Key Terms
  74. 5.11: Learning Module
  75. 5.12: Answer Sheets for end of Chapter learning modules
  76. 6: Arrays and Array Lists
  77. 6.1: INTRODUCTION
  78. 6.2: Single-Dimension Arrays
  79. 6.3: For Each Loops
  80. 6.4: Collections
  81. 6.5: Table Lookup
  82. 6.6: In Class Exercise
  83. 6.7: Rectangular Arrays
  84. 6.8: Using Array Elements for Accumulators
  85. 6.9: In-Class Exercise
  86. 6.10: Solution to In-Class Exercise
  87. 6.11: Summary Page- Understanding Arrays and Their Uses
  88. 6.12: Learning Module
  89. 6.13: Answer Sheets for end of Chapter learning modules
  90. 7: How to Get Started with JavaFX
  91. 7.1: Introduction to GUI Development
  92. 7.2: Setting up the design
  93. 7.3: In-Class Project
  94. 7.4: Stage (Scenes and Grids)
  95. 7.5: Labels
  96. 7.6: TextFields
  97. 7.7: Buttons
  98. 7.8: In Class Exercise
  99. 7.9: 15-Question Learning Module
  100. 7.10: Answer Sheets for end of Chapter learning modules
  101. 8: Menus and Other Controls
  102. 8.1: In-Class Project
  103. 8.2: GroupBox (TitledPane, HBox and VBox)
  104. 8.3: RadioButton Control
  105. 8.4: CheckBox Control
  106. 8.5: Images
  107. 8.6: Using a CheckBox to show or hide the image
  108. 8.7: Backcolor and foreground color
  109. 8.8: Bi-Directional binding of colors and font
  110. 8.9: Tooltips
  111. 8.10: In Class Exercise
  112. 8.11: Solution code to End of Chapter Exercise
  113. 8.12: Summary Page
  114. 8.13: Index of Key Terms
  115. 8.14: 15-Question Learning Module
  116. 8.15: Answer Sheets for end of Chapter learning modules
  117. 9: How to Get Started Swing
  118. 9.1: Introduction to Swing
  119. 9.2: Setting up the design
  120. 9.3: In-Class Project Example
  121. 9.4: Scenes
  122. 9.5: Labels
  123. 9.6: TextFields
  124. 9.7: Buttons
  125. 9.8: Other Property settings to make the JFrame better
  126. 9.9: In Class Exercise
  127. 9.10: Solution to end of exercise
  128. 9.11: Summary Page
  129. 9.12: Index of Key Terms
  130. 9.13: 15-Question Learning Module
  131. 9.14: Answer Sheets for end of Chapter learning modules
  132. 10: Menus and Other Controls
  133. 10.1: In-Class Project
  134. 10.2: Panel
  135. 10.3: MulitArea TextArea
  136. 10.4: Menu Bar
  137. 10.5: Help/About Message Box
  138. 10.6: RadioButton Control
  139. 10.7: CheckBox Control
  140. 10.8: Images
  141. 10.9: Formatted Field
  142. 10.10: Background and foreground color
  143. 10.11: Bi-directional binding of common controls
  144. 10.12: Tooltips
  145. 10.13: In Class Exercise
  146. 10.14: Solution code to End of Chapter Exercise
  147. 10.15: Summary Page
  148. 10.16: Key Concepts in Swing
  149. 10.17: RadioButton Control
  150. 10.18: Formatted Field in Java Swing
  151. 10.19: Customizing Background and Foreground Colors
  152. 10.20: Bi-Directional Binding and Tooltips
  153. 10.21: Index of Key Terms
  154. 10.22: 15-Question Learning Module
  155. 10.23: Answer Sheets for end of Chapter learning modules
  156. Back Matter
  157. Index
  158. Glossary
  159. Detailed Licensing
  160. Detailed Licensing