This file contains hidden or 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.Application; | |
import javafx.stage.Stage; | |
import javafx.scene.Scene; | |
import javafx.scene.control.TextField; | |
import javafx.scene.layout.VBox; | |
import javafx.scene.control.TextArea; | |
import javafx.scene.control.Button; | |
import javafx.scene.layout.HBox; | |
public class JavaFXMemo extends Application { |
This file contains hidden or 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.Application; | |
import javafx.stage.Stage; | |
import javafx.scene.Scene; | |
import javafx.scene.layout.HBox; | |
import javafx.scene.control.Label; | |
public class JavaFXHelloWorld extends Application{ | |
public static void main(String[] args){ | |
Application.launch(JavaFXHelloWorld.class, args); | |
} |
This file contains hidden or 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 javax.swing.JFrame; | |
import javax.swing.JPanel; | |
import javax.swing.JLabel; | |
public class SwingHelloWorld extends JFrame{ | |
public static void main(String[] args){ | |
SwingHelloWorld frame = new SwingHelloWorld("Hello"); | |
frame.setVisible(true); | |
} |
NewerOlder