Spezialfall Swing: Der Event Dispatch Thread
{"Image DocumentName": "Spezialfall Swing: Der Event Dispatch Thread", "Image ImageDescription": "//Erweiterung von Download. public class Download implements Runnable { //Jlabel stellt u.a. einzeilige Strings dar, nicht editierbar! Jlabel progressLabel = null; ... public Download(URL url, Jlabel progressLabel) { this.url = url; this.progressLabel = progressLabel; public void run() { HttpURLConnection connection = null; try {//Verbindung aufbauen. updateLabel( Baue Verbindung auf zu +url.toString()); connection = (HttpURLConnection) url.openConnection(); connection.connect(); updateLabel( Verbunden ); readFile(connection.getInputStream());//einlesen. updateLabel( Datei geladen! );", "Image XResolution": "300", "Image YResolution": "300", "Image ResolutionUnit": "Pixels/Inch", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}