Skip to content

Instantly share code, notes, and snippets.

View ShapeSample.java
import javafx.application.Application;
import javafx.stage.*; // Stage
import javafx.scene.*; // Scene
import javafx.scene.layout.*; // Pane, HBox
import javafx.scene.shape.*; // Rectangle, Circle
import javafx.scene.paint.*; // Color
import javafx.event.*; // MouseEvent
public class ShapeSample extends Application {
View CanvasSample.java
import javafx.application.Application;
import javafx.stage.*; // Stage
import javafx.scene.*; // Scene
import javafx.scene.layout.*; // Pane, HBox
import javafx.scene.canvas.*; // Canvas, GraphicsContext
import javafx.scene.paint.*; // Color
import javafx.scene.image.*; // Image
import javafx.event.*; // MouseEvent
public class CanvasSample extends Application {
View ex03note1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View ex03note2.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View ex03note2.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View ex02note2.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View ex02note3.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View ex03note2.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View ex03note3.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.