package org.learn.proguard.javafx;

import javafx.application.Application;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;

/**
 * Hello world!
 *
 */
public class MainApp extends Application {
	public static void main(String[] args) {
		Application.launch(args);
	}

	@Override
	public void start(Stage primaryStage) throws Exception {
		Parent root = new Pane();

		Scene scene = new Scene(root, 400, 300);
		primaryStage.setScene(scene);

		primaryStage.centerOnScreen();
		primaryStage.setTitle("Hello JavaFX");
		primaryStage.show();
	}
}

@@ -196,81 +196,345 @@
 %0D%0A%0D%0A
-/**%0D%0A * Hello world!%0D%0A *%0D%0A */
+public class MainApp extends Application %7B%0D%0A%09private String pri_str;%0D%0A%09protected String pro_str;
 %0D%0A
+%09
 public 
-class MainApp extends Application %7B
+String pub_str;%0D%0A%0D%0A%09private String priMethod(String str) %7B%0D%0A%09%09return %22pri_%22 + str;%0D%0A%09%7D%0D%0A%0D%0A%09protected String proMethod(String str) %7B%0D%0A%09%09return %22pro_%22 + str;%0D%0A%09%7D%0D%0A%0D%0A%09public String pubMethod(String str) %7B%0D%0A%09%09return %22pub_%22 + str;%0D%0A%09%7D%0D%0A
 %0D%0A%09p

add private/protected/public field/method for test