-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
929 changed files
with
76,538 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
10 changes: 10 additions & 0 deletions
10
.metadata/.plugins/org.eclipse.core.resources/.history/1/903eb4cd5df300181bbfbce25d2bd275
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
public class Main { | ||
|
||
public static void main(String[] args) { | ||
Torres torre = new Torres(); | ||
int n = 3; | ||
torre.torreHanoi(n, 'A', 'C', 'B'); | ||
} | ||
|
||
} |
51 changes: 51 additions & 0 deletions
51
.metadata/.plugins/org.eclipse.core.resources/.history/10/40b062ed83e700181444e922f31aaf60
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import java.awt.BorderLayout; | ||
import java.awt.Dimension; | ||
import java.awt.FlowLayout; | ||
import java.awt.GridLayout; | ||
import java.awt.Image; | ||
import java.awt.LayoutManager; | ||
|
||
import javax.swing.*; | ||
|
||
public class Breakout extends JFrame{ | ||
|
||
private JButton play, buttons, scores, exit; | ||
private JPanel botones; | ||
|
||
|
||
|
||
public Breakout() { | ||
|
||
|
||
super("Breakout"); | ||
setSize(700, 600); | ||
setLocation(400, 200); | ||
|
||
Game game = new Game(); | ||
|
||
play = new JButton("Jugar"); | ||
buttons = new JButton("Botones"); | ||
scores = new JButton("Puntuaciones altas"); | ||
exit = new JButton("Salir"); | ||
botones = new JPanel(); | ||
botones.setLayout(new GridLayout(5, 1)); | ||
botones.add(play); | ||
botones.add(buttons); | ||
botones.add(scores); | ||
botones.add(exit); | ||
setLayout(new BorderLayout()); | ||
JLabel background = new JLabel(new ImageIcon("fondo.png")); | ||
add(background); | ||
background.setLayout(new FlowLayout()); | ||
background.add(botones); | ||
|
||
|
||
|
||
|
||
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); | ||
setVisible(true); | ||
setResizable(false); | ||
|
||
} | ||
|
||
} |
24 changes: 24 additions & 0 deletions
24
.metadata/.plugins/org.eclipse.core.resources/.history/11/90e00e01b8c8001812eebff0a95bd9e8
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
import java.awt.*; | ||
import javax.swing.*; | ||
import java.awt.event.ActionEvent; | ||
import java.awt.event.ActionListener; | ||
|
||
public class Calculadora extends JFrame implements ActionListener{ | ||
|
||
private JButton nueve, ocho, siete, seis, cinco, cuatro, tres, dos, uno, cero, sumar, multiplicar, igual, dividir, restar; | ||
private JPanel panelNumeros; | ||
private JTextField output; | ||
|
||
panelNumeros = new JPanel(); | ||
panelNumeros.setLayout(3, 3); | ||
panelNumeros.add(); | ||
|
||
|
||
@Override | ||
public void actionPerformed(ActionEvent e) { | ||
// TODO Auto-generated method stub | ||
|
||
} | ||
|
||
} |
Oops, something went wrong.