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
//create buttons | |
Button seven = new Button("7"); | |
seven.setOnMouseClicked(e -> { | |
displayField.setText(displayField.getText() + "7"); | |
}); | |
seven.setPrefWidth(PREF_BUTTON_WIDTH); | |
moreButtons.add(seven,0,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
(function () { | |
'use strict'; | |
var myApp = angular.module('auction', ['ngRoute']) | |
.config(['$routeProvider', function ($routeProvider) { | |
var title = function (page) { | |
return page + ' | Auction'; | |
}; | |
$routeProvider |
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
<!-- Advanced Search --> | |
<div class="row" ng-controller="PriceRangeCtrl"> | |
<div class="col-lg-4"> | |
<h4>Product</h4> | |
<div class="row"> | |
<div class="col-lg-12 col-md-6 col-xs-12 col-sm-12 col-sd-12"> | |
<div class="form-group"> | |
<input type="text" class="form-control" placeholder="Product title"> | |
</div> |
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.Properties; | |
import javax.jms.*; | |
import javax.naming.Context; | |
import javax.naming.InitialContext; | |
import javax.naming.NamingException; | |
//import com.sun.messaging.ConnectionFactory; | |
//import com.sun.messaging.ConnectionConfiguration; |
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 quizzes; | |
import java.util.ArrayList; | |
import java.util.Comparator; | |
import java.util.List; | |
public class Practice { | |
private static List<Product> products; |
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 Controller implements BidListener{ | |
//Bid emulator | |
private static BidEmulator bidEmulator; | |
@FXML | |
TextArea simulatorConsole; | |
@FXML | |
private void handleStartSimulationButtonClicked(ActionEvent ae){ |
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
var myApp = angular.module('jQuiz',[]); | |
myApp.controller('QuestionController', | |
function($scope){ | |
$scope.score=0; | |
$scope.answer=5; | |
$scope.subject=""; |
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
<html ng-app = "jQuiz"> | |
<head> | |
<title>Cristina's Java Quizzes</title> | |
<script type = "text/javascript" src="angular.min.js"> </script> | |
<script type = "text/javascript" src="controllers/QuestionController.js"> </script> | |
<link href="bootstrap.min.css" rel="stylesheet" /> | |
<link href="bootstrap-theme.min.css" rel="stylesheet" /> | |
<link href="style.css" rel="stylesheet" /> | |
</head> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<?import javafx.scene.shape.*?> | |
<?import java.lang.*?> | |
<?import java.util.*?> | |
<?import javafx.scene.*?> | |
<?import javafx.scene.control.*?> | |
<?import javafx.scene.layout.*?> | |
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 javafx.application.Platform; | |
import javafx.embed.swing.JFXPanel; | |
import javafx.scene.Group; | |
import javafx.scene.Scene; | |
import javax.swing.*; | |
/** | |
* A custom {@link java.applet.Applet Applet} that sets-up a JavaFX environment. | |
*/ |
OlderNewer