en:gui-usage
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungLetzte ÜberarbeitungBeide Seiten der Revision | ||
en:gui-usage [2015/01/02 14:06] – [Timer] roehner | en: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. | ||
+ | < | ||
\\ | \\ | ||
\\ | \\ | ||
Zeile 213: | 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 // | 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 // | ||
- | |||
- | The turtle which belongs to the Java-Editor is an example of a Canvas-subclass.\\ | ||
---- | ---- | ||
==== Turtle ==== | ==== Turtle ==== | ||
+ | {{: | ||
+ | |||
+ | Since Java-Editor version 14.04 we have an animated Turtle-component for JavaFX. | ||
+ | It's conception is based on the former Turtle-component and supports a cartesian coordinate system. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Since Java-Editor version 13.00 the Turtle-component has changed. We now have an animated Turtle-Component based on the Turtle from [[http:// | ||
+ | |||
+ | Due to didactic reduction and technical issues the GUI doesn' | ||
+ | |||
{{: | {{: | ||
- | The Turtle-component | + | Before Version 13.00 we had another |
As a didactic reduction the turtle has a // | As a didactic reduction the turtle has a // | ||
Zeile 227: | Zeile 237: | ||
{{: | {{: | ||
- | The Turtle and it's documentation must be installed inside des Java-Editor configuration. | + | Since V13.00 the //setOrigin-method// is a method of the playground. |
\\ | \\ | ||
Zeile 272: | Zeile 282: | ||
Example: | Example: | ||
- | <code java> timer1.start(); | + | <code java> |
- | .. do anything | + | |
timer1.stop(); | timer1.stop(); | ||
</ | </ |
en/gui-usage.txt · Zuletzt geändert: 2022/09/02 10:20 von 127.0.0.1