Get an introduction to Java programming while you learn to develop Java applications for various runtime environments—desktop, web, and mobile—with Eclipse. Author Todd Perkins explains how to configure the development environment, and reviews the basic building blocks of the Java syntax: variables, functions, arrays, conditional statements, classes, and input/output. In chapters 3 and 4, he builds a user interface with the Swing framework, the GUI toolkit for Java, and connects Swing’s table components to different data sources. He also covers NetBeans, an alternative IDE for working with JavaServer Pages (JSP), and publishing workflows for desktop applications (via JAR files) and Android apps built with Java. See more: Up and Running with Java Applications
- Installing Java and Eclipse
- Understanding basic Java syntax
- Handling Java errors
- Creating a UI with Swing
- Creating tables and connecting to data sources for tables
- Publishing a JAR file
- Installing NetBeans
- Creating JSP pages
- Setting up and connecting to databases
- Creating Java-based Android Studio projects
Android Studio is the official integrated development environment (IDE) for developing for the Android platform. It was announced on May 16, 2013 at the Google I/O conference. Android Studio is freely available under the Apache License 2.0.
Android Studio was in early access preview stage starting from version 0.1 in May 2013, then entered beta stage starting from version 0.8 which was released in June 2014. The first stable build was released in December 2014, starting from version 1.0.
Based on JetBrains’ IntelliJ IDEA software, Android Studio is designed specifically for Android development. It is available for download on Windows, Mac OS X and Linux, and replaced Eclipse Android Development Tools (ADT) as Google’s primary IDE for native Android application development.
Android Studio vs. Eclipse ADT comparison
|Feature||Android Studio||Eclipse ADT|
|Build system||Gradle||Apache Ant|
|Maven-based build dependencies||Yes||No|
|Build variants and multiple-APK generation||Yes||No|
|Advanced Android Intelligent code completion and refactoring||Yes||No|
|Graphical layout editor||Yes||Yes|
|APK (Android application package) signing and keystore management||Yes||Yes|
Swing was developed to provide a more sophisticated set of GUI components than the earlier Abstract Window Toolkit (AWT). Swing provides a native look and feel that emulates the look and feel of several platforms, and also supports a pluggable look and feel that allows applications to have a look and feel unrelated to the underlying platform. It has more powerful and flexible components than AWT. In addition to familiar components such as buttons, check boxes and labels, Swing provides several advanced components such as tabbed panel, scroll panes, trees, tables, and lists.
Unlike AWT components, Swing components are not implemented by platform-specific code. Instead, they are written entirely in Java and therefore are platform-independent. The term “lightweight” is used to describe such an element.
See more resources:
Build My Site