This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EncryptAndDecrypt { | |
public static void main(String[] args) { | |
String message = "ssssssssss"; | |
Security security = new Security(); | |
security.encrypt(message, message); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package me.titanzscripts.goblinkiller; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import javax.swing.JCheckBox; | |
import javax.swing.JFrame; | |
import javax.swing.JPanel; | |
public class GUI implements ActionListener { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
state = { | |
'NY' : 'New York', | |
'SYD' : 'Sydney', | |
'LA' : 'Los Angles' | |
} | |
highways = { | |
'NY' : 'LIE', | |
'SYD' : 'MD4', | |
'LA' : 'AEW' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.Desktop; | |
import java.io.File; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.net.MalformedURLException; | |
import java.net.URI; | |
import java.net.URL; | |
import javax.swing.JFrame; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package aar.monster; | |
import aar.player.Player; | |
public class Monster { | |
private String name; | |
private int level, hp; | |
public Monster(String name, int level, int hp) { |