With Safari, you learn the way you learn best. Get unlimited access to videos, live online training,
learning paths, books, tutorials, and more.

Learn Java Swing

Video Description

In this course, you will adopt techniques to help you build a graphical user interface, more specifically a GUI, with the Java programming language and SWING library. For the development of a graphical user interface, the most important are the operating systems Apple Macintosh and Microsoft Windows. Thanks to them, the graphical user interface succeeded in completely replacing previously impractical textual interfaces that were complicated for efficient use. The course is split into four sections. In the first part of the course you’ll have the chance to find out what a Graphical User Interface is and when it’s used. After this, you’ll also learn everything you need about its AWT and SWING libraries. The second section is dedicated to the basics of SWING components. You’ll get a complete picture of the classes JLabel, JButton and JTextComponent, but also about what and how simple and stylized control texts are used. You’ll also get acquainted with other classes such as JToggleButton, JDialog, JColorChooser and JFileChooser. You’ll be trained to print text as well as handling SWING controls using the NetBeans GUI Builder. The third section will focus on SWING events. During these lectures, you’ll see how to create event classes and interfaces for their listeners. After that, you’ll be looking at a lesson that’ll talk about connecting to the MySQL database through NetBeans. You’ll then work on SWING's competing programming, while the last part of this study unit will deal with the use of actions and JSwing timer classes. Finally, through the final section you’ll deal with advanced SWING components, that is, by using focus and linking controls, as well as connecting through binding methods.