 |
| |
| |
< < | Any user interface is build up of various Widgets which are placed next to each other to present a complete interface. Placing these widgets next to each other can be done by providing rules to a so called Layout Manager which will then place all the widgets on the screen based on the rules the programmer has given combined with the amount of screen-space the user has given the application. | > > | Any user interface is built up of various Widgets which are positioned next to each other to present a complete interface. Placing these widgets next to each other is done by providing rules to a Layout Manager. The Layout Manager is responsible for placing widgets on the screen, which it does based on programmer specified rules, combined with the amount of screen-space the user has given the application. | | | | |
< < | There are slight differences between AWT and Swing layout managers but the essence is the same and it is possible to use them together, but that will mean the extra features placed in the Swing layout managers will not be used. The most notable difference is that the so-called MaximumSize of a widget will not be used by an AWT layout manager. | > > | In terms of an API, there are slight differences between AWT and Swing layout managers. It is however, possible to use them together, but this is at the expense of not using the extra features provided by Swing layout managers. The most notable difference between the AWT and Swing layout managers is that the MaximumSize of a widget is not used by the AWT implementation. | | | External links |
| |
Any user interface is build up of various Widgets which are placed next to each other to present a complete interface. Placing these widgets next to each other can be done by providing rules to a so called Layout Manager which will then place all the widgets on the screen based on the rules the programmer has given combined with the amount of screen-space the user has given the application. | |
< < | There are slight differences between AWT and Swing layout managers but the essence is the same and it is possible to use them together, but that will mean the extra features placed in the Swing layout managers will not be used. The most notable difference is that the so-called MaximumSize of a widget will not be used by an AWT layout manager. | > > | There are slight differences between AWT and Swing layout managers but the essence is the same and it is possible to use them together, but that will mean the extra features placed in the Swing layout managers will not be used. The most notable difference is that the so-called MaximumSize of a widget will not be used by an AWT layout manager. | | | Exernal links |
| |
Any user interface is build up of various Widgets which are placed next to each other to present a complete interface. Placing these widgets next to each other can be done by providing rules to a so called Layout Manager which will then place all the widgets on the screen based on the rules the programmer has given combined with the amount of screen-space the user has given the application. | |
< < | There are slight differences between AWT and Swing layout managers but the essence is the same and it is possible to use them together, but that will mean the extra features placed in the Swing layout managers will not be used. The most notable difference is that the so-called MaximumSize of a widget will not be used by an AWT layouter. | > > | There are slight differences between AWT and Swing layout managers but the essence is the same and it is possible to use them together, but that will mean the extra features placed in the Swing layout managers will not be used. The most notable difference is that the so-called MaximumSize of a widget will not be used by an AWT layout manager. | | | Javadoc:
AWT layout manager: http://java.sun.com/j2se/1.4.1/docs/api/java/awt/LayoutManager.html
|
| |
| |
> > | Any user interface is build up of various Widgets which are placed next to each other to present a complete interface. Placing these widgets next to each other can be done by providing rules to a so called Layout Manager which will then place all the widgets on the screen based on the rules the programmer has given combined with the amount of screen-space the user has given the application. | | | | |
< < | A Java class which knows how to arrange components in AWT or Swing. Javadoc: http://java.sun.com/j2se/1.4.1/docs/api/java/awt/LayoutManager.html | > > | There are slight differences between AWT and Swing layout managers but the essence is the same and it is possible to use them together, but that will mean the extra features placed in the Swing layout managers will not be used. The most notable difference is that the so-called MaximumSize of a widget will not be used by an AWT layouter. | | | | |
< < | Though several usable layout managers are included in J2SE, you can write your own too, or download ones you like better. | > > | Javadoc: http://java.sun.com/j2se/1.4.1/docs/api/java/awt/LayoutManager.html | | | | |
< < | See also GridBagLayout
| | |
| |
< < | |
|
<<O>> Difference Topic
LayoutManager
(2 - 09 Jun 2003 - Main.dgabriel)
|
| |
| | | Though several usable layout managers are included in J2SE, you can write your own too, or download ones you like better. | |
> > | See also GridBagLayout | | |
|
|
<<O>> Difference Topic
LayoutManager
(1 - 09 Jun 2003 - Main.dgabriel)
|
|