generated from sigonasr2/JavaProjectTemplate
parent
e48a526c64
commit
3cfee5cce6
@ -1,21 +0,0 @@ |
||||
package sig; |
||||
|
||||
import javax.swing.JFrame; |
||||
import sig.engine.Panel; |
||||
|
||||
public class JavaProjectTemplate { |
||||
public static final String PROGRAM_NAME="Sig's Java Project Template"; |
||||
public static void main(String[] args) { |
||||
JFrame f = new JFrame(PROGRAM_NAME); |
||||
Panel p = new Panel(f); |
||||
|
||||
p.init(); |
||||
|
||||
f.add(p); |
||||
f.setSize(1280,720); |
||||
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); |
||||
f.setVisible(true); |
||||
|
||||
p.render(); |
||||
} |
||||
} |
@ -0,0 +1,27 @@ |
||||
package sig; |
||||
|
||||
import java.awt.AWTException; |
||||
import java.awt.Robot; |
||||
import java.awt.event.KeyEvent; |
||||
|
||||
public class PEWCopyTool { |
||||
public static final String PROGRAM_NAME="PEW Copy Tool"; |
||||
public static void main(String[] args) { |
||||
Robot r; |
||||
try { |
||||
r = new Robot(); |
||||
//SHIFT+Down 15 times.
|
||||
r.setAutoDelay(25); |
||||
r.keyPress(KeyEvent.VK_SHIFT); |
||||
for (int i=0;i<15;i++) { |
||||
r.keyPress(KeyEvent.VK_DOWN); |
||||
r.keyRelease(KeyEvent.VK_DOWN); |
||||
} |
||||
r.keyRelease(KeyEvent.VK_SHIFT); |
||||
r.keyPress(KeyEvent.VK_CONTROL); |
||||
r.keyPress(KeyEvent.VK_C); |
||||
} catch (AWTException e) { |
||||
e.printStackTrace(); |
||||
} |
||||
} |
||||
} |
@ -1,4 +1,5 @@ |
||||
Java/ |
||||
C/ |
||||
C++/ |
||||
scripts/ |
||||
utils/ |
@ -1,4 +1,4 @@ |
||||
define.sh:3ecab0dffe2adfb950f3eb7c7061b750 - |
||||
main.sh:4e6e9f0650ec790ce2c4364db94f0caa - |
||||
search.sh:81d08f5ff48e8a44b5f68387d426da05 - |
||||
.updateDirectories:fa5e95db12be22ae8aed7ecbc560e38c - |
||||
search.sh:30e1842e9a13452ea883bb6516d28e1c - |
||||
.updateDirectories:971afb892e8280cb4c9ad43fb72a46a0 - |
||||
|
Loading…
Reference in new issue