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 bo.ubi.lapaz; | |
import javafx.application.Application; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.geometry.Pos; | |
import javafx.scene.Scene; | |
import javafx.scene.control.DatePicker; | |
import javafx.scene.control.Label; | |
import javafx.scene.layout.HBox; | |
import javafx.scene.layout.VBox; |
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 bo.ubi.lapaz; | |
import javafx.application.Application; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.geometry.Pos; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Button; | |
import javafx.scene.control.Label; | |
import javafx.scene.image.Image; |
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 com.company; | |
import javafx.application.Application; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.scene.Scene; | |
import javafx.scene.control.*; | |
import javafx.scene.layout.HBox; | |
import javafx.scene.layout.VBox; | |
import javafx.stage.Stage; |
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 bo.edu.ubilapaz; | |
public class Archivo { | |
private String nombre; | |
private String extension; | |
private double peso; | |
public Archivo(String nombre, String extension, double peso) { | |
this.nombre = nombre; | |
this.extension = extension; |
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 bo.edu.ubilapaz; | |
import java.util.Stack; | |
//jejejej | |
public class Main { | |
public static void main(String[] args) { | |
Ticket t1 = new Ticket("Mana", "General", 200); | |
Ticket t2 = new Ticket("Mago de Oz", "Vip", 300); | |
Ticket t3 = new Ticket("Atajo", "Vip", 100); |
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 bo.ubi.lapaz; | |
public class Libro { | |
private String titulo; | |
private String autor; | |
public Libro(String titulo, String autor) { | |
this.titulo = titulo; |
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 bo.ubi.lapaz; | |
public class Cancion { | |
//Atributos | |
String titulo, album, artista; | |
int dur; | |
//Contructor con parametros | |
public Cancion(String titulo, String album, String artista, int dur) { |
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 bo.ubi.lapaz; | |
public class Cancion { | |
//Atributos | |
String titulo, album, artista; | |
int dur; | |
//Contructor con parametros | |
public Cancion(String titulo, String album, String artista, int dur) { | |
this.titulo = titulo; | |
this.album = album; | |
this.artista = artista; |