Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /homepages/32/d69930110/htdocs/com.sowas.javawiki2/lib/plugins/importoldchangelog/action.php on line 8

Strict Standards: Declaration of action_plugin_importoldindex::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /homepages/32/d69930110/htdocs/com.sowas.javawiki2/lib/plugins/importoldindex/action.php on line 57

Deprecated: Assigning the return value of new by reference is deprecated in /homepages/32/d69930110/htdocs/com.sowas.javawiki2/inc/parserutils.php on line 208

Deprecated: Assigning the return value of new by reference is deprecated in /homepages/32/d69930110/htdocs/com.sowas.javawiki2/inc/parserutils.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in /homepages/32/d69930110/htdocs/com.sowas.javawiki2/inc/parserutils.php on line 421

Deprecated: Assigning the return value of new by reference is deprecated in /homepages/32/d69930110/htdocs/com.sowas.javawiki2/inc/parserutils.php on line 594

Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /homepages/32/d69930110/htdocs/com.sowas.javawiki2/inc/cache.php on line 291

Deprecated: Function split() is deprecated in /homepages/32/d69930110/htdocs/com.sowas.javawiki2/inc/auth.php on line 154

Warning: Cannot modify header information - headers already sent by (output started at /homepages/32/d69930110/htdocs/com.sowas.javawiki2/lib/plugins/importoldchangelog/action.php:8) in /homepages/32/d69930110/htdocs/com.sowas.javawiki2/inc/auth.php on line 245

Warning: Cannot modify header information - headers already sent by (output started at /homepages/32/d69930110/htdocs/com.sowas.javawiki2/lib/plugins/importoldchangelog/action.php:8) in /homepages/32/d69930110/htdocs/com.sowas.javawiki2/feed.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /homepages/32/d69930110/htdocs/com.sowas.javawiki2/lib/plugins/importoldchangelog/action.php:8) in /homepages/32/d69930110/htdocs/com.sowas.javawiki2/feed.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /homepages/32/d69930110/htdocs/com.sowas.javawiki2/lib/plugins/importoldchangelog/action.php:8) in /homepages/32/d69930110/htdocs/com.sowas.javawiki2/feed.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /homepages/32/d69930110/htdocs/com.sowas.javawiki2/lib/plugins/importoldchangelog/action.php:8) in /homepages/32/d69930110/htdocs/com.sowas.javawiki2/inc/pageutils.php on line 512

Warning: Cannot modify header information - headers already sent by (output started at /homepages/32/d69930110/htdocs/com.sowas.javawiki2/lib/plugins/importoldchangelog/action.php:8) in /homepages/32/d69930110/htdocs/com.sowas.javawiki2/inc/pageutils.php on line 513
Java Wiki https://javawiki.sowas.com/ 2022-10-09T16:09:54+02:00 Java Wiki https://javawiki.sowas.com/ https://javawiki.sowas.com/lib/images/favicon.ico text/html 2022-10-07T10:06:29+02:00 nosch swing:swing https://javawiki.sowas.com/doku.php?id=swing:swing&rev=1665129989&do=diff * Actions * Anwendung beenden beim Schließen eines JFrame * Anwendungs-Icon setzen * Aktionen ausführen nach GUI-Update * Cursor setzen * Dicke Linien * Einzeiliger Eingabe-Dialog * Fenster maximieren * Fenster minimieren * Fenster wiederherstellen * Fenster zentrieren * Font ändern * FontMetrics * Glasspane, Probleme Cursor/Maus umgehen * GridBagLayout * HTML darstellen, JEditorPane text/html 2022-08-01T10:11:06+02:00 nosch java:java https://javawiki.sowas.com/doku.php?id=java:java&rev=1659341466&do=diff * Annotations * Applet, Datei vom Server lesen * Applet, Host feststellen * Array, Element suchen * Array, initialisieren * Array sortieren * Array, umwandeln in Collection * Array vergrößern/Array kopieren * ArrayList, umwandeln zu Array * assert * Base64 * Beans, gebunden, vetoable * Bild aus einer jar-Datei laden * Byte-Array zu Hex-String umwandeln * Byte-Array zu Objekt umwandeln text/html 2022-07-27T19:33:42+02:00 nosch java:element_in_array_suchen https://javawiki.sowas.com/doku.php?id=java:element_in_array_suchen&rev=1658943222&do=diff Java - Allgemein java.util.Arrays Die Durchsuchen eines sortiertem Array kann mittels java.util.Arrays.binarySearch(..) durchgeführt werden. // Array mit sortierten Elementen erzeugen: String[] sortedArray = new String[]{"Apfel", "Birne", "Kiwi"}; // Suchen nach Birne: int index = Arrays.binarySearch(sortedArray, "Birne"); // Resultat: 1 // Suchen nach Banane: index = Arrays.binarySearch(sortedArray, "Banane"); // Resultat: -2 // Nun d… text/html 2021-04-15T12:19:06+02:00 nosch swt-jface:asyncexec https://javawiki.sowas.com/doku.php?id=swt-jface:asyncexec&rev=1618481946&do=diff Java - SWT/JFace org.eclipse.swt.widgets.Display.asyncExec(Runnable runnabled) Verlagt den Code innerhalb der run-Methode in den UI-Tread (entspricht dem Main-Thread). getShell().getDisplay().asyncExec(new Runnable() { public void run() { // Hier kann der auszuführende Code stehen... } }); text/html 2020-09-25T09:41:17+02:00 nosch eclipse-rcp:binding https://javawiki.sowas.com/doku.php?id=eclipse-rcp:binding&rev=1601019677&do=diff Java - Eclipse-RCP JFace-Data-Binding ab Eclipse 3.3 In einem gedachten Beispiel soll ein Model aus den drei Attributen * Nachname * Vorname * Geburtsdatum bestehen. Binding-Methode Die Binding-Methode kann beispielsweise in der MyFormPart-Klasse implementiert werden.