createImage(int,int)
hvorfor vil compileren ikke oversætte følgendeimport java.awt.*;
import java.awt.Image.*;
public class Fretboard {
private static Graphics G;
private static Image b ;
private static Scale s;
/*
* default constructor
*/
public Fretboard() {
initComponents ();
makeFret();
}
public Fretboard(Scale scale1) {
s = scale1;
initComponents ();
makeFret();
makeScaleTones();
}
private void initComponents () {
b = createImage(1000, 200 );
G = b.getGraphics() ;
update(G);
}