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.ByteArrayInputStream; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.nio.ByteBuffer; | |
import java.nio.channels.ReadableByteChannel; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
public class MD5 { |
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.scene.Node; | |
import javafx.reflect.FXLocal; | |
// com.sun.javafx.tk.swing.SwingScene$SwingScenePanel | |
function getPanel(node: Node) { | |
var context = FXLocal.getContext(); | |
// SGNode | |
var nodeClass = context.makeClassRef(node.getClass()); |
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
BufferedReader r = new BufferedReader(new InputStreamReader(System.in)); | |
String line = null; | |
while ((line = r.readLine()) != null) { | |
System.out.println(line); | |
} |
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 CopyStream implements Runnable { | |
private InputStream in; | |
private OutputStream out; | |
public CopyStream(InputStream in, OutputStream out) { | |
this.in = new BufferedInputStream(in); | |
this.out = new BufferedOutputStream(out); | |
} |
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.scene.media.Media; | |
import javafx.scene.media.MediaPlayer; | |
import javafx.scene.media.MediaView; | |
import javafx.scene.paint.Color; | |
import javafx.scene.Scene; | |
import javafx.stage.Stage; | |
function run(args: String[]) { | |
var media = Media { | |
source: args[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
import javafx.animation.*; | |
import javafx.animation.transition.*; | |
import javafx.scene.*; | |
import javafx.scene.image.*; | |
import javafx.scene.layout.*; | |
import javafx.scene.shape.*; | |
import javafx.stage.*; | |
public function run(args: String[]) { |
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.animation.*; | |
import javafx.animation.transition.*; | |
import javafx.scene.*; | |
import javafx.scene.image.*; | |
import javafx.scene.layout.*; | |
import javafx.scene.shape.*; | |
import javafx.stage.*; | |
public function run(args: String[]) { |
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.geometry.*; | |
import javafx.scene.*; | |
import javafx.scene.control.*; | |
import javafx.scene.layout.*; | |
import javafx.stage.*; | |
var panel: Panel; | |
var paddingTop = 5.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
import javafx.scene.*; | |
import javafx.scene.control.*; | |
import javafx.scene.layout.*; | |
import javafx.stage.*; | |
import javafx.util.Sequences.*; | |
class Item { | |
public var text: String; | |
public var value: Object; |
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.Calendar; | |
import javafx.scene.Node; | |
import javafx.scene.Scene; | |
import javafx.scene.layout.Stack; | |
import javafx.scene.layout.Tile; | |
import javafx.scene.paint.Color; | |
import javafx.scene.shape.Rectangle; | |
import javafx.scene.text.Text; | |
import javafx.stage.Stage; |
OlderNewer