olá galera, estava estudando CLDC e MIDPe hj fui ver como era CDC tentei rodar o codigo no NetBeans 6.0 com CDC 1.0 e está dando erro acho q erro de comnfiguração nao de codigo
import java.awt.*;
import java.awt.event.*;
public class BasicWindow extends Frame {
public BasicWindow(String title) {
super(title);
// handle frame closing events
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
}
} );
}
public static void main(String[] args) {
Frame f = new BasicWindow("BasicWindow");
f.setSize(f.getToolkit().getScreenSize());
f.show();
}
}
erro:
Copying 1 file to C:\Documents and Settings\Hudson\Desktop\CDC\CdcApplication1\dist\lib
Copying 1 file to C:\Documents and Settings\Hudson\Desktop\CDC\CdcApplication1\dist
Copying 1 file to C:\Documents and Settings\Hudson\Desktop\CDC\CdcApplication1\dist
Warning: C:\Documents and Settings\Hudson\Desktop\CDC\CdcApplication1\resources not found.
post-jar:
jar:
pre-run:
cldc-run:
ricoh-run:
semc-icon-assembly:
semc-ppro-emulator:
semc-do-run:
semc-run:
savaje-run:
C:\Documents and Settings\Hudson\Desktop\CDC\CdcApplication1\nbproject\build-impl.xml:872: HTML can not be writen
BUILD FAILED (total time: 1 second)
grato.