Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
Nic0Nic0Nii 3 years ago
parent 1175c900a3
commit 842d655f33
  1. 10
      src/sig/SigKeeper.java

@ -48,6 +48,16 @@ public class SigKeeper implements WindowFocusListener,KeyListener,MouseListener,
GraphicsDevice screen = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
frame.setLocation((screen.getDisplayMode().getWidth()-SCREEN_WIDTH)/2,(screen.getDisplayMode().getHeight()-SCREEN_HEIGHT)/2);
panel.init();
for (int x=30;x<=100;x++) {
for (int y=30;y<=100;y++) {
if (y==30||y==100) {
panel.pixel[y*SCREEN_WIDTH+x]=0xFF;
} else
if (x==30||x==100){
panel.pixel[y*SCREEN_WIDTH+x]=0xFF00;
}
}
}
new Thread() {
public void run(){

Loading…
Cancel
Save