This file contains 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.util.Random; | |
public class Character { | |
static String name; | |
static int health; | |
static int mana; | |
static int gold; | |
static int xp; | |
static int attack; |
This file contains 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 negro { | |
System.out.println("Louie my killa") | |
} |
This file contains 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
JMenuItem Exit = new JMenuItem("Exit"); | |
Exit.setToolTipText("Exit application"); | |
Exit.addActionListener(new ActionListener() { | |
public void actionPerformed(ActionEvent event) { | |
statusbar.setText("Exiting"); | |
JOptionPane.showConfirmDialog(main, "Are you sure you want to exit?", | |
"Exiting", JOptionPane.YES_NO_OPTION); | |
System.exit(0); | |
} |
This file contains 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 skeleton; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import java.awt.Color; | |
import java.io.IOException; | |
import javax.swing.JFrame; | |
import javax.swing.JTextField; | |
import javax.swing.SwingUtilities; |
This file contains 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 skeleton; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import javax.swing.JFrame; | |
import javax.swing.SwingUtilities; | |
import javax.swing.JMenu; | |
import javax.swing.JMenuBar; | |
import javax.swing.JMenuItem; |
NewerOlder