Benutzer-Werkzeuge

Webseiten-Werkzeuge


en:gui-usage

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Letzte ÜberarbeitungBeide Seiten der Revision
en:gui-usage [2017/04/18 19:58] – [Turtle] roehneren:gui-usage [2017/07/16 11:14] – [JLabel] roehner
Zeile 7: Zeile 7:
  
 With the method setLocation(int x, int y) of a JLabel-component you can animate an image. With the method setLocation(int x, int y) of a JLabel-component you can animate an image.
-<html><img src="http://vg08.met.vgwort.de/na/0bcd12449ac147d08ba0529b6daeced2" width="1" height="1" alt=""><html>+<html><img src="http://vg08.met.vgwort.de/na/0bcd12449ac147d08ba0529b6daeced2" width="1" height="1" alt=""></html>
 \\ \\
 \\ \\
Zeile 214: Zeile 214:
 If you minimize your Java-Application with a Canvas-component und show it up again, the content of the Canvas-Component is lost. To avoid this, you have to create a subclass from Canvas and do the drawing in the //paint(Graphics g)// method. Such a derived class can be placed in a GUI-form with right-click on the Canvas-Symbol. If you minimize your Java-Application with a Canvas-component und show it up again, the content of the Canvas-Component is lost. To avoid this, you have to create a subclass from Canvas and do the drawing in the //paint(Graphics g)// method. Such a derived class can be placed in a GUI-form with right-click on the Canvas-Symbol.
  
- 
-The turtle which belongs to the Java-Editor is an example of a Canvas-subclass.\\ 
 ---- ----
  
en/gui-usage.txt · Zuletzt geändert: 2022/09/02 10:20 von 127.0.0.1