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/ 2021-04-16T16:35:11+02:00 Java Wiki https://javawiki.sowas.com/ https://javawiki.sowas.com/lib/images/favicon.ico 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. text/html 2019-03-05T12:49:24+02:00 nosch swing:swing https://javawiki.sowas.com/doku.php?id=swing:swing&rev=1551786564&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 2019-03-05T12:47:33+02:00 nosch swing:cursor https://javawiki.sowas.com/doku.php?id=swing:cursor&rev=1551786453&do=diff Java - AWT/Swing JLabel label = ... label.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); text/html 2018-12-13T12:56:22+02:00 nosch javawiki https://javawiki.sowas.com/doku.php?id=javawiki&rev=1544702182&do=diff Tipps, Tricks und Quellcodes für Java Programmierung von Java-Software Dieses JavaWiki enthält eine Sammlung von Info's zur Programmierung mit Java. Beispielcode (Sourcecode/Quelltext) ist ebenfalls oft enthalten. Neben allgemeinen Java-Problemen sind AWT/Swing, Android, JavaFX und Eclipse-RCP mit SWT/JFace besondere Schwerpunkte dieses JavaWikis. Ein guter Startpunkt für dieses JavaWiki ist die Navigation am linken Fensterrand. Dieses JavaWiki ist als kleine Gedächnisstütze von mir (N… text/html 2018-12-13T12:51:27+02:00 nosch swt-jface:traverslistener https://javawiki.sowas.com/doku.php?id=swt-jface:traverslistener&rev=1544701887&do=diff Java - SWT/JFace org.eclipse.swt.widgets.Button Button myButton = new Button(composite, "Klick mich", SWT.PUSH); // composite = parent button.addTraverseListener(new TraverseListener() { @Override public void keyTraversed(TraverseEvent e) { System.out.println("Pressed key: " + e.keyCode); } }); text/html 2018-12-13T12:48:32+02:00 nosch swt-jface:swt-jface https://javawiki.sowas.com/doku.php?id=swt-jface:swt-jface&rev=1544701712&do=diff * asyncExec * AutoCompleteField * Button * Browser, SWT-eigener * Canvas mit transparentem Hintergrund * CCombo, Focus-Problem * CLabel, mit Icon * Colors * Cursor setzen (SWT) * Datei-Dialog * Dekorationen von Controls * Dialog (JFace) * Display * Events feuern * FormHeading/FormTitel * Group (GroupBox) * Image, anzeigen * Image, drauf zeichnen * Image aus Stream laden * ImageRegistry * Layout * List (SWT) * MessageBox * Section mit Toolbar * Tab… text/html 2017-12-01T12:17:11+02:00 nosch java:xmlgregoriancalendar-to-date https://javawiki.sowas.com/doku.php?id=java:xmlgregoriancalendar-to-date&rev=1512127031&do=diff Java - Allgemein XMLGregorianCalendar calendar = ... Date date = calendar.toGregorianCalendar().getTime(); Stichworte: XMLGregorianCalendar konvertieren Date