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 jayfx; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.Modifier; | |
import javafx.application.Application; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.geometry.Pos; | |
import javafx.scene.Cursor; | |
import javafx.scene.Group; |
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
/* | |
* Handling mouse events with event filters | |
*/ | |
package draggablepanelsexample; | |
import javafx.application.Application; | |
import javafx.beans.binding.Bindings; | |
import javafx.beans.property.BooleanProperty; | |
import javafx.beans.property.SimpleBooleanProperty; | |
import javafx.collections.FXCollections; |
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
class Child extends Parent{ | |
} | |
/** | |
* @param args | |
*/ | |
public static void main(String[] args) { | |
Parent parent = new Parent(); |
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.awt.*; | |
import java.awt.event.*; | |
import javax.swing.*; | |
public class RobotDemo implements ActionListener { | |
JFrame fr; | |
JLabel lb1; | |
JLabel lb2; | |
JTextField tf1; | |
JTextField tf2; | |
JButton btn1; |
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.net.*; | |
import java.io.*; | |
import java.util.*; | |
public class SocketClient | |
{ | |
public static void main(String args[]) throws IOException | |
{ | |
Socket s1 = new Socket("localhost",4444); | |
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.net.*; | |
import java.io.*; | |
public class SocketServer | |
{ | |
public static void main(String args[]) throws IOException | |
{ | |
ServerSocket s = new ServerSocket(4444); |
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
/** | |
* (C) 2013 HealthConnect NV. All rights reserved. | |
*/ | |
package magnifierdemo; | |
import javafx.beans.binding.DoubleBinding; | |
import javafx.beans.property.BooleanProperty; | |
import javafx.beans.property.BooleanPropertyBase; | |
import javafx.beans.property.DoubleProperty; | |
import javafx.beans.property.DoublePropertyBase; |
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
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package magnifierdemo; | |
import java.text.DecimalFormat; | |
import javafx.application.Application; | |
import javafx.beans.binding.StringBinding; | |
import javafx.beans.property.BooleanProperty; |
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 application; | |
import javafx.application.Application; | |
import javafx.event.EventHandler; | |
import javafx.geometry.Point3D; | |
import javafx.scene.Group; | |
import javafx.scene.PerspectiveCamera; | |
import javafx.scene.PointLight; | |
import javafx.scene.Scene; | |
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
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.io.RandomAccessFile; | |
import java.util.Arrays; | |
import java.util.zip.ZipEntry; | |
import java.util.zip.ZipInputStream; |
OlderNewer