Thread View: aus.computers.java
1 messages
1 total messages
Started by Buechert
Mon, 07 Feb 2000 00:00
drawImage funktioniert nicht
Author: Buechert
Date: Mon, 07 Feb 2000 00:00
Date: Mon, 07 Feb 2000 00:00
18 lines
1166 bytes
1166 bytes
Hallo Forum,
als Java-Einsteiger habe ich folgendes Problem:
wenn ich versuche, mittels drawImage ein Bild (von nem MediaTracker
�berwacht) darzustellen, klappt das nicht. Nach folgendem Listing wird
nur das Rechteck gemalt, nicht aber das Image. Warum? Was mache ich
falsch?
F�r jede Hilfe dankbar,
Carsten
public void show(Image Bild){
Graphics screen = BildContainer.getGraphics();
screen.drawRect(10,10,600,600);
screen.drawImage(Bild,50,50,100,100,null);
}
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads