用Java编写Flash应用 Flash4j

jopen 11年前

Flash4j 可以让你用 Java 语言来编写 Flash 应用,提供数以百种的 UI 控件。你可把它当成是 Adobe Flex 的 Java 语言封装。

用Java编写Flash应用 Flash4j

示例代码:

Button button = new Button( "Click me" );  button.addEventHandler(MouseEvent.CLICK, new EventHandler() {               @Override               public void onEvent(Event event) {                    Alert.show( "Hello, Flex" , "Greetings" );               }  });  // center the button  button.setCentered();

项目主页:http://www.open-open.com/lib/view/home/1349531875338