Swing • AWT Components obsolète • SWT Eclipse Foundation Swing • est multi-plateformes pas d'iconification séparée, toujours au dessus de la JFrame
qualités), vous devez toujours l'avoir avec vous lors des TPs de même que les polycopiés Java et Swing cela vous évitera de chercher inutilement ailleurs
Il faut tout d'abord définir un contenant (Container) de cette interface graphique On choisit en général de personnaliser par héritage la classe JFrame qui
The most widely used Java GUI toolkit ◦ The one we will study ▻ SWT (Standard Widget Toolkit) was developed by IBM for Eclipse
Application Programming Interface GUI Graphical User Interface How to build an application of Java SE, using Eclipse IDE?
You can use Java Swing, built into the JDK, or you can use the Standard Widget Toolkit (SWT) from Eclipse Both approaches share some commonality,
Before proceeding with this tutorial, you should have a basic understanding of Java programming language, text editor, execution of programs, etc
In our example, we use the Eclipse Visual Editor to generate Java Swing code for an example application that lets two players play
JFrame – Most Basic Component to make window – One per each window – Window as is • JPanel Using External Library for Eclipse (1/3)
Describe how the GUI window should look – Use libraries for windows, widgets, and layout Used the AWT (lots of platform-based non-Java code)